hg: hsx/hotspot-gc/hotspot: 7099824: G1: we should take the pending list lock before doing the remark pause
john.cuthbertson at oracle.com
john.cuthbertson at oracle.com
Sat Oct 22 12:16:05 UTC 2011
Changeset: db89aa49298f
Author: johnc
Date: 2011-10-20 12:06 -0700
URL: http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/db89aa49298f
7099824: G1: we should take the pending list lock before doing the remark pause
Summary: Acquire the pending list lock in the prologue method of G1's concurrent VM_Operation and release the lock in the epilogue() method. The locking/unlocking order of the pending list lock and the Heap_lock should match that in the prologue and epilogue methods of VM_GC_Operation.
Reviewed-by: tonyp, ysr
! src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
! src/share/vm/gc_implementation/g1/vm_operations_g1.hpp
! src/share/vm/gc_implementation/shared/concurrentGCThread.cpp
More information about the hotspot-gc-dev
mailing list