8214434: Disabling ZOptimizeLoadBarriers hits assert
authorneliasso
Thu, 29 Nov 2018 09:31:04 +0100
changeset 52759 5feec55560f2
parent 52758 b2e14d91a50c
child 52760 9bce3e729d5f
8214434: Disabling ZOptimizeLoadBarriers hits assert Reviewed-by: kvn, pliden, eosterlund
src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
--- a/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp	Thu Nov 29 14:32:23 2018 +0530
+++ b/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp	Thu Nov 29 09:31:04 2018 +0100
@@ -658,8 +658,6 @@
       kit->set_control(gvn.transform(new ProjNode(barrier, LoadBarrierNode::Control)));
     }
     Node* result = gvn.transform(new ProjNode(transformed_barrier, LoadBarrierNode::Oop));
-    assert(is_gc_barrier_node(result), "sanity");
-    assert(step_over_gc_barrier(result) == val, "sanity");
     return result;
   } else {
     return val;