RFR(XS) 8011415: CTW on Sparc: assert(lrg.lo_degree()) failed:

Roland Westrelin roland.westrelin at oracle.com
Thu Oct 10 05:41:50 PDT 2013

> When compiling very big methods, in this particular case a method of 60k+ nodes, a live range 'l' with mask.is_AllStack() == true can still have lo_degree() == false. This because the _mask_size of 'l' can be at most 65535, at the same time 'l' is interfering with so many other live ranges that the value of _eff_degree becomes bigger than 65535.

Shouldn't we assert somewhere than _eff_degree doesn't become any bigger than LRG_All_STACK_SIZE if that's the root cause of the problem?
Also, wouldn't a const int LRG_All_STACK_SIZE be better than a macro?


More information about the hotspot-compiler-dev mailing list