Reference counting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Reference counting

Damien Cassou
 
Hi,

how does the VM handle reference counting for the garbage collector?
When is the counter increased/decreased?

Best

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
Reply | Threaded
Open this post in threaded view
|

Re: Reference counting

Bert Freudenberg
 

On 09.05.2012, at 16:33, Damien Cassou wrote:

>
> Hi,
>
> how does the VM handle reference counting for the garbage collector?
> When is the counter increased/decreased?


The Squeak VM does not use reference counting, but mark-and-sweep.

- Bert -