RFR: 8358546: [premain] AOT code generation should support UseCompactObjectHeaders
Vladimir Kozlov
kvn at openjdk.org
Fri Jun 6 14:20:14 UTC 2025
On Fri, 6 Jun 2025 14:11:00 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> src/hotspot/share/code/aotCodeCache.cpp line 771:
>>
>>> 769: }
>>> 770:
>>> 771: if ((_compressedKlassBase == nullptr || CompressedKlassPointers::base() == nullptr) && (_compressedKlassBase != CompressedKlassPointers::base())) {
>>
>> I am guessing we only disable `AOTStubCaching`, and not `AOTCodeCaching` wholesale, because the normal code deals with this properly. Correct?
>
> yes
> I still did not figure out what is wrong with stubs.
Hmm, actually no. Normal JIT code will be also affected except adapters I think. This code from mainline and have to be adjusted for premain.
-------------
PR Review Comment: https://git.openjdk.org/leyden/pull/78#discussion_r2132287456
More information about the leyden-dev
mailing list