diff --git a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp index a92b1726f5e..65d0035ef72 100644 --- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp +++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp @@ -3133,6 +3133,8 @@ ShenandoahLoadReferenceBarrierNode::Strength ShenandoahLoadReferenceBarrierNode: case Op_CompareAndSwapI: case Op_CompareAndSwapB: case Op_CompareAndSwapS: + case Op_CompareAndSwapN: + case Op_CompareAndSwapP: case Op_ShenandoahCompareAndSwapN: case Op_ShenandoahCompareAndSwapP: case Op_ShenandoahWeakCompareAndSwapN: