changeset 52916:5feec55560f2

8214434: Disabling ZOptimizeLoadBarriers hits assert Reviewed-by: kvn, pliden, eosterlund
author neliasso
date Thu, 29 Nov 2018 09:31:04 +0100
parents b2e14d91a50c
children 9bce3e729d5f
files src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;