[squeak-dev] About a object life
Mariano Martinez Peck
marianopeck at gmail.com
Sat Nov 3 21:45:06 UTC 2012
On Sat, Nov 3, 2012 at 3:26 PM, Edgar J. De Cleene
<edgardec2005 at gmail.com>wrote:
> Folks:
>
> I wish know how old a object is.
>
>
The VM can know if an object is in the young or old area. You could modify
the VM and make a primitive that answers this (#isYoung: anOop).
So, this is not HOW OLD, but at least if it is young or old ;)
> Any have code for this ?
>
> Thanks in advance
>
> Edgar
>
>
>
>
--
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20121103/adaaad18/attachment.htm
More information about the Squeak-dev
mailing list
|