[squeak-dev] Re: [Vm-dev] A couple of memory management related questions

ungar at mac.com ungar at mac.com
Tue Jun 15 22:00:39 UTC 2010

Can't resist the following unproductive comment:  Object pinning? Ugh!!

I realize you probably, after much thought, have decided you cannot avoid pinning, but its consequences scare the you-know-what out of me.

If you supported one class per object, then you could get rid of the identityHash field in the header, by making it an instance method. ;-)
Oh wait a minute, since classes are objects, you would need oops larger than 64-bits each. ;-)

- David

On Jun 15, 2010, at 2:17 PM, Eliot Miranda wrote:

> Hi All,
>     I've started working on a new GC for Cog and have a few questions.
> 1. does anyone have a copy of Joel Bartlett's J. F. Bartlett. A generational, compacting collector for C++. In E. Jul and N.-C. Juul, editors, OOPSLA/ECOOP ‘90 Workshop on Garbage Collection in Object-Oriented Systems, Oct. 1990. ?
> 2. what's the largest number of classes you've got in your most complex image and/or what's the largest number of classes you're ever created in an image?  a.k.a.  is 64k classes enough (16 bits), or is 1m classes enough (24 bits)?
> 3. do you have any personal recommendations, or example code, of systems that combine generation scavenging and/or compaction with object pinning?
> TIA,
> Eliot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100615/2fa21eea/attachment.htm

More information about the Squeak-dev mailing list