RFR: 8356125: Interned strings are omitted from AOT cache [v2]
Ioi Lam
iklam at openjdk.org
Tue May 6 23:11:58 UTC 2025
On Mon, 5 May 2025 09:56:35 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Improved test case
>
> test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/NonFinalStaticWithInitVal.java line 64:
>
>> 62:
>> 63: class MyTestApp {
>> 64: volatile static int x = 0;
>
> Seems unused?
I changed the code to read from this variable to prevent any sort of (future) inlining that javac may do.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25026#discussion_r2076497676
More information about the hotspot-dev
mailing list