mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA. Reviewed-by: never
This commit is contained in:
parent
0429abd38a
commit
7b9d6a79ac
22 changed files with 350 additions and 33 deletions
|
@ -34,9 +34,11 @@ class StackValue : public ResourceObj {
|
|||
_i = value;
|
||||
}
|
||||
|
||||
StackValue(Handle value) {
|
||||
StackValue(Handle value, intptr_t scalar_replaced = 0) {
|
||||
_type = T_OBJECT;
|
||||
_i = scalar_replaced;
|
||||
_o = value;
|
||||
assert(_i == 0 || _o.is_null(), "not null object should not be marked as scalar replaced");
|
||||
}
|
||||
|
||||
StackValue() {
|
||||
|
@ -56,6 +58,11 @@ class StackValue : public ResourceObj {
|
|||
return _o;
|
||||
}
|
||||
|
||||
bool obj_is_scalar_replaced() const {
|
||||
assert(type() == T_OBJECT, "type check");
|
||||
return _i != 0;
|
||||
}
|
||||
|
||||
void set_obj(Handle value) {
|
||||
assert(type() == T_OBJECT, "type check");
|
||||
_o = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue