8225564: Remove wrong assert in clean_catch_blocks
authorneliasso
Tue, 11 Jun 2019 12:39:37 +0200
changeset 55326 50270ff05a65
parent 55325 24c59b1579d7
child 55327 27e810f1f8a3
8225564: Remove wrong assert in clean_catch_blocks Reviewed-by: thartmann
src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
--- a/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp	Tue Jun 11 10:55:17 2019 +0200
+++ b/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp	Tue Jun 11 12:39:37 2019 +0200
@@ -866,7 +866,6 @@
   // In some very rare cases a load that doesn't need a barrier will end up here
   // Treat it as a LoadP and the insertion of phis will be done correctly.
   if (node->is_Load()) {
-    assert(node->as_Load()->barrier_data() == 0, "Sanity");
     call_catch_cleanup_one(phase, node->as_Load(), phase->get_ctrl(node));
   } else {
     for (DUIterator_Fast jmax, i = node->fast_outs(jmax); i < jmax; i++) {