RFR: 8377554: Load card table base and other values via AOTRuntimeConstants in AOT code
Andrew Dinn
adinn at openjdk.org
Tue Feb 24 10:21:36 UTC 2026
On Tue, 24 Feb 2026 05:58:43 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> src/hotspot/share/code/aotCodeCache.cpp line 1814:
>>
>>> 1812: }
>>> 1813:
>>> 1814: AOTRuntimeConstants AOTRuntimeConstants::_aot_runtime_constants;
>>
>> Look on recent fix I pushed for this part of code:
>> https://github.com/openjdk/leyden/commit/10172534fc92bc58dcf7eae6145c781ec50ffabc#diff-516c8850de2f959cdbecfcd27e402ad72795ff3106759896566fa78c41f59794R3821-R3853
>
> Current code:
> https://github.com/openjdk/leyden/blob/premain/src/hotspot/share/code/aotCodeCache.cpp#L3830-L3864
Ok, I believe I have worked round this same problem in a different way in my patch but I will adopt your code for preference.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29884#discussion_r2845859053
More information about the hotspot-dev
mailing list