Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
12874:46ef27bcacb3 | 12877:d8a449d2f5b2 |
---|---|
675 lrg.SUBTRACT( rmask ); | 675 lrg.SUBTRACT( rmask ); |
676 lrg.compute_set_mask_size(); | 676 lrg.compute_set_mask_size(); |
677 } else { // Common case: size 1 bound removal | 677 } else { // Common case: size 1 bound removal |
678 if( lrg.mask().Member(r_reg) ) { | 678 if( lrg.mask().Member(r_reg) ) { |
679 lrg.Remove(r_reg); | 679 lrg.Remove(r_reg); |
680 lrg.set_mask_size(lrg.mask().is_AllStack() ? 65535:old_size-1); | 680 lrg.set_mask_size(lrg.mask().is_AllStack() ? LRG::AllStack_size : old_size - 1); |
681 } | 681 } |
682 } | 682 } |
683 // If 'l' goes completely dry, it must spill. | 683 // If 'l' goes completely dry, it must spill. |
684 if( lrg.not_free() ) { | 684 if( lrg.not_free() ) { |
685 // Give 'l' some kind of reasonable mask, so he picks up | 685 // Give 'l' some kind of reasonable mask, so he picks up |