hg: jdk7/hotspot-gc/hotspot: 6997298: fatal error: must own lock CMS_markBitMap_lock during heap dump

y.s.ramakrishna at oracle.com y.s.ramakrishna at oracle.com
Sat Nov 6 02:51:34 PDT 2010


Changeset: 899bbbdcb6ea
Author:    ysr
Date:      2010-11-05 13:20 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/899bbbdcb6ea

6997298: fatal error: must own lock CMS_markBitMap_lock during heap dump
Summary: Since we are at a stop-world pause, the existing CMS-phase checks are sufficient for safety, and the locking check can be safely elided. Elaborated documentation comment to the case where class unloading and verification are disabled, and the query happens when we aren't in the sweeping phase, where the answer "false" would be (almost everywhere) too pessimistic.
Reviewed-by: jmasa, johnc, tonyp

! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp



More information about the hotspot-gc-dev mailing list