Will GC lose some locking infomation during compaction?
dawn2004 at gmail.com
Wed Apr 15 14:35:59 PDT 2009
Thank you very much for your clarification!
Colin(Du Li) wrote:
> I have two questions about GC's compaction phase.
> 1. During the compaction, after GC copies a compacted object to the its
> location, it always calls "init_mark" on this object. I think "init_mark"
> will cause the object to be "unlocked". If the object is "locked" before
> compaction, will the locking information be lost after compaction?
> 2. If the compacted object has enter a monitor (using "moniterenter"), GC
> moves it to new location, then how can GC update the monitor?
> Thanks a lot!
View this message in context: http://www.nabble.com/Will-GC-lose-some-locking-infomation-during-compaction--tp23063420p23067594.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.
More information about the hotspot-dev