<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Peter Crowther wrote:
<blockquote
 cite="mid4148C9693F97D044A563A88663D9C24E0725C9@uriel.crowther.local"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">From: [...] Joerg Beekmann
Can anyone comment on how much work would be involved in
1) Adding a new 32bit field to the object header
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Nasty.  I tried it back in the 2.2 days, and failed.  My biggest problem
was getting the garbage collector stable.

  </pre>
  <blockquote type="cite">
    <pre wrap="">2) Adding a new immediate type like integer, presumable by adding 
another tag bit.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Also nasty - there aren't any more tag bits, and tweaking with the
header format also involves the GC.  If you're going to do this, look at
the compact classes instead and see whether you can make yours compact.
Last I looked, I think there were a couple of spares.  Note that changes
to compact classes did *not* involve image format or VM changes last I
looked.
  </pre>
</blockquote>
Thanks Peter, I am not aware of compact classes so I'll have a look.<br>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Joerg Beekmann
DeepCove Labs
4th floor 595 Howe Street
Vancouver, BC, V6C 2T5
<a class="moz-txt-link-abbreviated" href="mailto:joerg@deepcovelabs.com">joerg@deepcovelabs.com</a></pre>
</body>
</html>