diff src/share/vm/opto/lcm.cpp @ 342:37f87013dfd8

6711316: Open source the Garbage-First garbage collector Summary: First mercurial integration of the code for the Garbage-First garbage collector. Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author ysr
date Thu, 05 Jun 2008 15:57:56 -0700
parents d942c7e64bd9
children 6aae2f9d0294
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp	Wed Jun 04 13:51:09 2008 -0700
+++ b/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.