8229002: Shenandoah: Missing node types in ShenandoahLoadReferenceBarrier::needs_barrier_impl()
Reviewed-by: shade
--- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Thu Aug 01 07:14:03 2019 -0700
+++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Fri Aug 02 11:21:41 2019 +0200
@@ -3087,6 +3087,7 @@
return needs_barrier_impl(phase, n->in(1), visited);
case Op_LoadN:
return true;
+ case Op_CMoveN:
case Op_CMoveP:
return needs_barrier_impl(phase, n->in(2), visited) ||
needs_barrier_impl(phase, n->in(3), visited);
@@ -3238,6 +3239,7 @@
case Op_StrComp:
case Op_StrIndexOf:
case Op_StrIndexOfChar:
+ case Op_HasNegatives:
if (!ShenandoahOptimizeStableFinals) {
strength = WEAK;
}