src/hotspot/share/opto/loopopts.cpp
changeset 58470 8991796c17d4
parent 58351 d322bf161e31
child 58516 d376d86b0a01
--- a/src/hotspot/share/opto/loopopts.cpp	Mon Oct 07 12:06:47 2019 +0200
+++ b/src/hotspot/share/opto/loopopts.cpp	Tue Oct 01 10:28:12 2019 +0200
@@ -1075,26 +1075,21 @@
   // uses.
   // A better fix for this problem can be found in the BugTraq entry, but
   // expediency for Mantis demands this hack.
-  // 6855164: If the merge point has a FastLockNode with a PhiNode input, we stop
-  // split_if_with_blocks from splitting a block because we could not move around
-  // the FastLockNode.
+#ifdef _LP64
   for (DUIterator_Fast imax, i = region->fast_outs(imax); i < imax; i++) {
     Node* n = region->fast_out(i);
     if (n->is_Phi()) {
       for (DUIterator_Fast jmax, j = n->fast_outs(jmax); j < jmax; j++) {
         Node* m = n->fast_out(j);
-        if (m->is_FastLock())
-          return false;
-#ifdef _LP64
         if (m->Opcode() == Op_ConvI2L)
           return false;
         if (m->is_CastII() && m->isa_CastII()->has_range_check()) {
           return false;
         }
-#endif
       }
     }
   }
+#endif
   return true;
 }