8224836: Backout: JDK-8224626: Shenandoah: Elide barriers on uncommon traps
Reviewed-by: shade
This commit is contained in:
parent
57d319210a
commit
625020c0fd
@ -3123,11 +3123,7 @@ ShenandoahLoadReferenceBarrierNode::Strength ShenandoahLoadReferenceBarrierNode:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Op_CallStaticJava: {
|
case Op_CallStaticJava: {
|
||||||
// If it's an deopt-call we don't need barriers because
|
strength = STRONG;
|
||||||
// the LRB will be applied when unpacking the deopt frame.
|
|
||||||
if (n->as_CallStaticJava()->uncommon_trap_request() == 0) {
|
|
||||||
strength = STRONG;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Op_CallDynamicJava:
|
case Op_CallDynamicJava:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user