Memory used by a specific object

Tim Rowledge tim at sumeru.stanford.edu
Mon Aug 27 00:35:38 UTC 2001


broccole at panix.com is widely believed to have written:

> Is there a way to learn the amount and location of the memory allocated
> to a specific object at a given time?  Is the memory location fixed
> during a session?
Yes (in a primitive) and no - it (could) moves any time a gc runs. 
> 
> Is there a resource someplace that talks about the details of where
> objects live in memory and what happens to them during gc, etc?
Yup:-
http://coweb.cc.gatech.edu/squeakbook/15

tim

-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Who is General Failure and why is he reading my disk?





More information about the Squeak-dev mailing list