On 10 May 2010 18:33, Alexandre Bergel <[email protected]> wrote: > Hi! > > The garbage collection offered by the Pharo VM has two divisions. One for > young objects, and another for old objects. I was wondering when a young > object become old? I start to have a pretty good idea for human beings, but > I am not so sure for Pharo objects. > Is it when the object survives its first garbage collection? > I'd say, whenever VM decides to change a youngStart pointer. Its quite sophisticated, and having a lot of quirks & preconditions. But after compaction (either incremental or full), it usually picks a free memory region which will serve as a space for newly created objects. After that, obviously, all objects, which survived GC treated as old ones.
> Cheers, > Alexandre > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
