Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/jdi/ObjectReferenceImpl.java @ 818:b109e761e927
6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
Summary: Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA.
Reviewed-by: never
author | kvn |
---|---|
date | Tue, 09 Jun 2009 16:19:10 -0700 |
parents | a61af66fc99e |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
793:eacd97c88873 | 818:b109e761e927 |
---|---|
247 while (frame != null) { | 247 while (frame != null) { |
248 List monitors = frame.getMonitors(); | 248 List monitors = frame.getMonitors(); |
249 OopHandle givenHandle = obj.getHandle(); | 249 OopHandle givenHandle = obj.getHandle(); |
250 for (Iterator itr = monitors.iterator(); itr.hasNext();) { | 250 for (Iterator itr = monitors.iterator(); itr.hasNext();) { |
251 MonitorInfo mi = (MonitorInfo) itr.next(); | 251 MonitorInfo mi = (MonitorInfo) itr.next(); |
252 if (mi.eliminated() && frame.isCompiledFrame()) continue; // skip eliminated monitor | |
252 if (givenHandle.equals(mi.owner())) { | 253 if (givenHandle.equals(mi.owner())) { |
253 res++; | 254 res++; |
254 } | 255 } |
255 } | 256 } |
256 frame = (JavaVFrame) frame.javaSender(); | 257 frame = (JavaVFrame) frame.javaSender(); |