-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 15, 16
-
Component/s: hotspot
-
b23
-
generic
-
generic
if (in1->bottom_type() == TypePtr::NULL_PTR &&
(in1->Opcode() != Op_ShenandoahLoadReferenceBarrier || !((ShenandoahLoadReferenceBarrierNode*)in1)->is_native())) {
in2 = step_over_gc_barrier(in2);
}
However, the check for LRB and !native are the wrong way around: they should check if *in2* are not native LRB.
The bug is currently only observed in the conc-weakrefs branch, but may manifest (rarely) in mainline too.
- relates to
-
JDK-8254314 Shenandoah: null checks in c2 should not skip over native load barrier
-
- Resolved
-