RFR: 8373266: Strengthen constant CardTable base accesses [v2]

Aleksey Shipilev shade at openjdk.org
Wed Jan 21 16:41:40 UTC 2026


On Wed, 21 Jan 2026 13:26:21 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> src/hotspot/cpu/x86/gc/shared/cardTableBarrierSetAssembler_x86.cpp line 114:
>> 
>>> 112:   __ subptr(end, addr); // end --> cards count
>>> 113: 
>>> 114:   __ mov64(tmp, (intptr_t) ctbs->card_table_base_const());
>> 
>> Suggestion:
>> 
>>   __ mov64(tmp, (intptr_t)ctbs->card_table_base_const());
>
> For consistency

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28703#discussion_r2713395841


More information about the hotspot-dev mailing list