RFR: 8354897: Support Soft/Weak Reference in AOT cache [v9]
Ioi Lam
iklam at openjdk.org
Thu May 1 03:48:57 UTC 2025
On Thu, 1 May 2025 02:01:36 GMT, ExE Boss <duke at openjdk.org> wrote:
>> Ioi Lam has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - @AlanBateman comments
>> - @xmas92 comments
>
> src/java.base/share/classes/java/lang/ref/Reference.java line 314:
>
>> 312: }
>> 313:
>> 314: private static void runtimeSetup() {
>
> The comment was added in the wrong spot:
> Suggestion:
>
> static {
> runtimeSetup();
> }
>
> // Called from JVM when loading an AOT cache
> private static void runtimeSetup() {
Oops, I will fix in an related PR #24979
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24757#discussion_r2069812435
More information about the core-libs-dev
mailing list