Request for review 6988439: Parallel Class Loading test deadlock involving MethodData_lock and Pend,ing List Lock

Coleen Phillimore coleen.phillimore at
Thu Dec 9 08:35:17 PST 2010

Summary: Don't acquire methodData_lock while holding pending list lock

We discussed the alternative of allocating the methodData object from 
permgen before acquiring the MethodData_lock, but were concerned about 
leaking methodData objects in the permgen if another thread beats us to 
the locked region.  When we go to native memory for these objects this 
bug fix will be moot and removed.  This patch is to prevent the various 
hangs we've seen from occurring until then.

open webrev at
bug link at


More information about the hotspot-runtime-dev mailing list