diff src/share/vm/opto/ifg.cpp @ 12877:d8a449d2f5b2

8011415: CTW on Sparc: assert(lrg.lo_degree()) failed: Summary: Increased the LRG AllStack mask size since the previous size was not big enough when compiling huge methods (60k+ nodes) Reviewed-by: kvn, roland, twisti
author adlertz
date Fri, 11 Oct 2013 13:10:22 +0200
parents 650868c062a9
children de6a9e811145
line wrap: on
line diff
--- a/src/share/vm/opto/ifg.cpp	Wed Oct 09 11:05:17 2013 -0700
+++ b/src/share/vm/opto/ifg.cpp	Fri Oct 11 13:10:22 2013 +0200
@@ -677,7 +677,7 @@
             } else {            // Common case: size 1 bound removal
               if( lrg.mask().Member(r_reg) ) {
                 lrg.Remove(r_reg);
-                lrg.set_mask_size(lrg.mask().is_AllStack() ? 65535:old_size-1);
+                lrg.set_mask_size(lrg.mask().is_AllStack() ? LRG::AllStack_size : old_size - 1);
               }
             }
             // If 'l' goes completely dry, it must spill.