|
From: Anthony H. <ajh...@ya...> - 2004-04-10 16:37:17
|
One thing I forgot is the isLarge flag has to be repeated in the -8 word, so when going to the next object you know if the header is two or three words. So here's the format again. -8 isLarge flag, n if large (this field does not exist if not large) 4 isLarge flag, identityHash, other flags, isOops flag, n if small 0 class pointer, gc flags (in low 2 bits) 4 (for class objects only) primitive type, isBytes & isWeak flags, m .. n isLarge can be the high bit or the low bit, it just has to be the same in both words. Also, the two low bits of class oop can be used for flags, and I added "other" flags for immutable or whatever we decide. Cheers, Anthony __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html |