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
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.
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. ?
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)?
do you have any personal recommendations, or example code, of systems that combine generation scavenging and/or compaction with object pinning?
TIA, Eliot
On Tue, Jun 15, 2010 at 2:17 PM, Eliot Miranda eliot.miranda@gmail.comwrote:
Hi All,
I've started working on a new GC for Cog and have a few questions.
- 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. ?
thanks to all 5 of you who've provided this. Ta!
- 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)?
- do you have any personal recommendations, or example code, of systems
that combine generation scavenging and/or compaction with object pinning?
TIA, Eliot
vm-dev@lists.squeakfoundation.org