• J
    7147724: G1: hang in SurrogateLockerThread::manipulatePLL · f0980866
    johnc 提交于
    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
    f0980866
g1CollectedHeap.cpp 224.4 KB