comparison src/share/vm/runtime/stackValue.cpp @ 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 cecd8eb4e0ca
children bd02caa94611 5314d85ffd54
comparison
equal deleted inserted replaced
793:eacd97c88873 818:b109e761e927
144 union { intptr_t p; jlong jl; } value; 144 union { intptr_t p; jlong jl; } value;
145 value.p = (intptr_t) CONST64(0xDEADDEAFDEADDEAF); 145 value.p = (intptr_t) CONST64(0xDEADDEAFDEADDEAF);
146 value.jl = ((ConstantLongValue *)sv)->value(); 146 value.jl = ((ConstantLongValue *)sv)->value();
147 return new StackValue(value.p); 147 return new StackValue(value.p);
148 #endif 148 #endif
149 } else if (sv->is_object()) { 149 } else if (sv->is_object()) { // Scalar replaced object in compiled frame
150 return new StackValue(((ObjectValue *)sv)->value()); 150 Handle ov = ((ObjectValue *)sv)->value();
151 return new StackValue(ov, (ov.is_null()) ? 1 : 0);
151 } 152 }
152 153
153 // Unknown ScopeValue type 154 // Unknown ScopeValue type
154 ShouldNotReachHere(); 155 ShouldNotReachHere();
155 return new StackValue((intptr_t) 0); // dummy 156 return new StackValue((intptr_t) 0); // dummy