Request for review: 6922246: Deadlock during intensive class loading in parallel

Tom Rodriguez tom.rodriguez at
Tue Oct 19 15:34:52 PDT 2010

On Oct 19, 2010, at 3:11 PM, coleen phillimore wrote:

> Summary: allocate methodData before taking out the MethodData_lock
> open webrev at
> bug link at
> Thanks to Ramki for the diagnosis and suggestion for the fix.

That looks ok, though if the only purpose of MethodData_lock is setting that field we could just as well use a cmpxchg_ptr to set the method data field and no lock.  One less heavyweight lock seems good.


> Coleen

More information about the hotspot-runtime-dev mailing list