Request for reviews (S): 7192965: assert(is_aligned_sets(size)) failed: mask is not aligned, adjacent sets

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Aug 22 15:56:44 PDT 2012


Thank you, John

John Rose wrote:
> On Aug 22, 2012, at 3:20 PM, Vladimir Kozlov wrote:
> 
>> http://cr.openjdk.java.net/~kvn/7192965/webrev
>>
> 
> Suggestion:  Make the new function static, to encourage inlining and keep the global name space tidier.

Yes, I forgot to add "static" keyword. Fixed.

> I suppose this logic applies to stack slot coloring.  If so, will there be similar problems with overlapping allocations of spill slots?  For example, stack[20..21] might be allocated for a double spill, while stack[20..23] is allocated for a quad spill.  I hope we detect interference between those allocations by setting all four bits 20..23 when building interference bit-masks.

We do mark all bits for vectors and do clear to sets. But I will check it anyway.

Thanks,
Vladimir

> 
> — John


More information about the hotspot-compiler-dev mailing list