On Tue, 14 Jul 2026 17:43:57 GMT, Aleksey Shipilev <[email protected]> wrote:

>> Andrew Haley has updated the pull request incrementally with two additional 
>> commits since the last revision:
>> 
>>  - Merge branch 'JDK-8134940' of https://github.com/theRealAph/jdk into 
>> JDK-8134940
>>  - Simplify overflow handling
>
> src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp line 1456:
> 
>> 1454:         = __ form_address(rscratch2, mdo,
>> 1455:                           md->byte_offset_of_slot(data, 
>> DataLayout::flags_offset()),
>> 1456:                           LogBytesPerWord);
> 
> Why `LogBytesPerWord`, and not `0` as in original?

It generates smaller code for large offsets, but only if all memory accesses 
using this `Address` are word-aligned..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28541#discussion_r3594145278

Reply via email to