Request for reviews (L): 6837472: com/sun/jdi/MonitorFrameInfo.java fails with Escape Analysis

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Thu May 28 15:22:00 PDT 2009


http://cr.openjdk.java.net/~kvn/6837472/webrev.00

Fixed 6837472: com/sun/jdi/MonitorFrameInfo.java fails with Escape Analysis

Problem:
JDI test sets a breakpoint in callee method and expects
to be inside the lock in caller method.
But EA eliminated the locked object and the lock
in caller method since the object does not escape.

Solution:
Disable escape analysis when jvmti/debugger is used.
Add the information about scalar replaced objects into
MonitorInfo and StackValue.
Add support for scalar replaced objects and eliminated locks
into Serviceability Agent.

Reviewed by:

Fix verified (y/n): y,  bug's test

Other testing:
JPRT, CTW, NSK testing with EA.




More information about the hotspot-compiler-dev mailing list