hotspot/src/share/vm/opto/lcm.cpp
changeset 1374 4c24294029a9
parent 372 b0d8a9fd3646
child 1376 f7fc7a708b63
--- a/hotspot/src/share/vm/opto/lcm.cpp	Wed Jun 04 13:51:09 2008 -0700
+++ b/hotspot/src/share/vm/opto/lcm.cpp	Thu Jun 05 15:57:56 2008 -0700
@@ -585,7 +585,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.