Weldon,

> There bit layout was the following before new thread manager integration:
> object info word contains:
> 0 bit - available for GC
> 1-6 bits - object hashcode
> 7 bit - contention bit unused by TM, but used by GC_V4
> 8-31 bits - other thread manager's data

The new Thread Manager use only 10-31 bit for its own data.
So you could also use 8-9 bits for GC purpose.

These bits could be read any time, but modified only at GC stop the
world phase, because they share a byte with a monitor recursion count
and other bits.
This byte is updated without a lock

Thanks
Artem

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to