<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can't resist the following unproductive comment: &nbsp;Object pinning? Ugh!!<div><br></div><div>I realize you probably, after much thought, have decided you cannot avoid pinning, but its consequences scare the you-know-what out of me.</div><div><br></div><div>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. ;-)</div><div>Oh wait a minute, since classes are objects, you would need oops larger than 64-bits each. ;-)<br><div><br></div><div>- David</div><div><br></div><div><br></div><div><br><div><div>On Jun 15, 2010, at 2:17 PM, Eliot Miranda wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi All,<div><br></div><div>&nbsp;&nbsp; &nbsp;I've started working on a new GC for Cog and have a few questions.</div><div><br></div><div>1. does anyone have a copy of Joel Bartlett's&nbsp;<span class="Apple-style-span" style="font-family: Arial; ">J. F. Bartlett. A generational, compacting collector for C++. In E. Jul and N.-C. Juul, editors, <span style="font: 7.4px Arial"><span class="Apple-style-span" style="font-size: small;">OOPSLA/ECOOP&nbsp;‘90 Workshop </span></span>on <span style="font: 7.4px Arial"><span class="Apple-style-span" style="font-size: small;">Garbage </span></span>Collection in <span style="font: 7.4px Arial"><span class="Apple-style-span" style="font-size: small;">Object-Oriented Systems, </span></span>Oct. 1990. ?</span></div>
<div><span class="Apple-style-span" style="font-family: Arial; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; ">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? &nbsp;a.k.a. &nbsp;is 64k classes enough (16 bits), or is 1m classes enough (24 bits)?</span></div>
<div><span class="Apple-style-span" style="font-family: Arial; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; ">3. do you have any personal recommendations, or example code, of systems that combine generation scavenging and/or compaction with object pinning?</span></div>
<div><span class="Apple-style-span" style="font-family: Arial; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; ">TIA,</span></div><div><span class="Apple-style-span" style="font-family: Arial; ">Eliot</span></div>
</blockquote></div><br></div></div></body></html>