RFR: 8335392: C2 MergeStores: enhanced pointer parsing [v2]

Emanuel Peter epeter at openjdk.org
Fri Oct 18 08:06:50 UTC 2024


On Thu, 17 Oct 2024 21:48:00 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Emanuel Peter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   more examples and comments for Vladimir
>
> src/hotspot/share/opto/mempointer.hpp line 353:
> 
>> 351:   //
>> 352:   //   array[j]                      ->  array_base + j + con              -> 2 summands
>> 353:   //   nativeMemorySegment.get(j)    ->  null + address + offset + j + con -> 3 summands
> 
> Does this means it supports only Unsafe and Array access?

I removed these examples, but instead added extensive examples at the beginning of `mempointer.hpp`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19970#discussion_r1806058387


More information about the hotspot-compiler-dev mailing list