diff src/share/vm/opto/lcm.cpp @ 362:f8199438385b

Merge
author apetrusenko
date Wed, 17 Sep 2008 16:49:18 +0400
parents 1ee8caae33af
children 5f44674206d3
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp	Thu Sep 04 18:40:43 2008 -0700
+++ b/src/share/vm/opto/lcm.cpp	Wed Sep 17 16:49:18 2008 +0400
@@ -588,7 +588,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.