http://www.smalltalkconsulting.com/papers/GCPaper/GCTalk%202001.htm
see slides 46 & 47 You need to have a tenure event, or a full GC to move the youngStart pointer past all previously allocated objects, thus promoting a previously allocated object from new space into old space. There is btw a primitive I added many years back primitiveForceTenure SystemDictionary>>forceTenure Understanding when and why you would want to use it is another question... On 2010-05-10, at 9:02 AM, Igor Stasenko wrote: > 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 -- =========================================================================== John M. McIntosh <[email protected]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
