hotspot/src/share/vm/opto/lcm.cpp
changeset 1397 6a692b557add
parent 1136 9f6351874414
parent 1388 3677f5f3d66b
child 2022 28ce8115a91d
--- a/hotspot/src/share/vm/opto/lcm.cpp	Wed Jul 05 16:41:36 2017 +0200
+++ b/hotspot/src/share/vm/opto/lcm.cpp	Wed Sep 24 15:34:06 2008 -0400
@@ -595,7 +595,7 @@
 
       // A few node types require changing a required edge to a precedence edge
       // before allocation.
-      if( UseConcMarkSweepGC ) {
+      if( UseConcMarkSweepGC || UseG1GC ) {
         if( n->is_Mach() && n->as_Mach()->ideal_Opcode() == Op_StoreCM ) {
           // Note: Required edges with an index greater than oper_input_base
           // are not supported by the allocator.