RFR: 8308076: X86_64: make rheapbase register allocatable in zero based compressedOops mode [v3]

kuaiwei duke at openjdk.org
Tue May 16 05:57:12 UTC 2023


On Mon, 15 May 2023 09:13:57 GMT, kuaiwei <duke at openjdk.org> wrote:

>> In x86 64 mode, decode heap oop could use SIB without base if heap base is zero. like
>> 
>> 0d1     movl    R11, [,R9 << 3 + #72] (zero base compressed oop addressing) # compressed ptr ! Field: java/lang/ClassLoader.classAssertionStatus 
>> 
>> So rheapbase( r12 )  can be allocated as general register.
>> 
>> Tier 1/2 tests are passed without new failure.
>
> kuaiwei has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix zero build

> 

Thanks for the comments. reinit_heapbase is fixed.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13976#issuecomment-1549031325


More information about the hotspot-dev mailing list