RFR: 8347006: LoadRangeNode floats above array guard in arraycopy intrinsic [v2]

Tobias Hartmann thartmann at openjdk.org
Wed Jan 8 13:15:43 UTC 2025


On Wed, 8 Jan 2025 13:10:51 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Added missing stopped checks, refactoring and updated copyright dates
>
> src/hotspot/share/opto/library_call.cpp line 5920:
> 
>> 5918:     // Keep track of the information that src/dest are arrays to prevent below array specific accesses from floating above.
>> 5919:     generate_non_array_guard(load_object_klass(src), slow_region);
>> 5920:     if (!stopped()) {
> 
> Shouldn't we simply return then?

But we need to set up the `slow_region` path, right?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22967#discussion_r1907162736


More information about the hotspot-compiler-dev mailing list