hg: hsx/hsx23/hotspot: 7147724: G1: hang in SurrogateLockerThread::manipulatePLL
john.cuthbertson at oracle.com
john.cuthbertson at oracle.com
Wed Mar 28 11:38:44 PDT 2012
Changeset: de5748cca211
Author: johnc
Date: 2012-03-12 14:59 -0700
URL: http://hg.openjdk.java.net/hsx/hsx23/hotspot/rev/de5748cca211
7147724: G1: hang in SurrogateLockerThread::manipulatePLL
Summary: Attempting to initiate a marking cycle when allocating a humongous object can, if a marking cycle is successfully initiated by another thread, result in the allocating thread spinning until the marking cycle is complete. Eliminate a deadlock between the main ConcurrentMarkThread, the SurrogateLocker thread, the VM thread, and a mutator thread waiting on the SecondaryFreeList_lock (while free regions are going to become available) by not manipulating the pending list lock during the prologue and epilogue of the cleanup pause.
Reviewed-by: brutisso, jcoomes, tonyp
! src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
! src/share/vm/gc_implementation/g1/vm_operations_g1.hpp
More information about the hotspot-dev
mailing list