RFR: 8359270: C2: alignment check should consider base offset when emitting arraycopy runtime call
Fei Yang
fyang at openjdk.org
Mon Jun 16 03:46:33 UTC 2025
On Fri, 13 Jun 2025 08:26:45 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> But `StubRoutines::select_arraycopy_function` also sets `copyfunc_name` which is printed for the `CallNode` and should therefore be matchable by the IR framework, right?
Yes. I missed that `StubRoutines::select_arraycopy_function` would return a `copyfunc_name`. And I haved added a test to cover the changes for all three callsites. Verified on three different platforms (x64, aarch64 and riscv64). The test passes with this change and fails otherwise with fastdebug build. Please take another look. Thanks for the suggestion!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25765#issuecomment-2975012411
More information about the hotspot-compiler-dev
mailing list