RFR: 8362504: AArch64: Replace MOVZ+MOVK+MOVK with ADRP+ADD

Vladimir Kozlov kvn at openjdk.org
Tue Aug 19 16:41:38 UTC 2025


On Thu, 7 Aug 2025 11:43:33 GMT, Fei Gao <fgao at openjdk.org> wrote:

> So, the reachability method needs to return false if `AOTCodeCache::is_on_for_dump() returns true.

This may be not enough. I just fixed the issue in premain for aarch64 after https://bugs.openjdk.org/browse/JDK-8358329 :
https://github.com/openjdk/leyden/commit/2c69aa27ee88cca0c85ab275b4b5f24035ecf4d6

The issue was that `ICache::invalidate_range()` was called only for part of AOTed stub code based `static_call_stub_size()` which could be smaller in production run.

In short, in "production" run we need to know what code we are working on/patching: AOTed or normal JITed.

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

PR Comment: https://git.openjdk.org/jdk/pull/26653#issuecomment-3201453302


More information about the hotspot-dev mailing list