Projects
Tom Tromey
tromey@cygnus.com
Tue May 9 11:19:00 GMT 2000
>>>>> "Hans" == Boehm, Hans <hans_boehm@hp.com> writes:
Hans> It hasn't, though it changes to about 500 bytes with a 64 bit
Hans> machine. Larger objects can be handled with a custom mark
Hans> procedure that interprets longer bitmaps.
Are there unused bit patterns for the low bits of the mark descriptor
we could use? If so we could encode a pointer to a longer bitmap
there.
Or we could do something like what Corey does: encode a pointer to an
index list, which we'd use in the existing mark function -- and which
we'd lazily compute the first time into that function. This could be
done immediately without any compiler change.
Hans> My theory is that the added overhead will be amortized over the
Hans> larger object, and won't be noticable. Whether this is correct
Hans> remains to be seen.
It would also be interesting to know how often these large objects
occur. My guess is that they rarely occur.
Tom
More information about the Java
mailing list