RFR: JDK-8217909: Make unused r12 register (without compressed oops) available to regalloc in C2
rkennke at redhat.com
Wed Feb 13 13:57:16 UTC 2019
>> I started a version based on Dean's approach:
>> Unfortunately it barks on ptr_reg class:
>> assert fails
>> 246: User defined register classes are not allowed to spill to the stack.
>> Interestingly, it doesn't do that when I only handle any_reg class.
>> However, I am not sure what that means or how to fix it. Any hints?
> You could maybe use reg_class_dynamic to do this. See the AArch64 ad
> file for an example.
Did you mean to say the way to go is my original patch? ;-)
More information about the hotspot-compiler-dev