RFR: 8293187: Store initialized Enum classes in AOTCache

ioi.lam at oracle.com ioi.lam at oracle.com
Thu Sep 12 03:32:22 UTC 2024


Hi, this is the 4th PR for JEP 483 - Ahead-of-Time Class Loading & 
Linking [1]

The PR is https://github.com/openjdk/jdk/pull/20958

The following are added in this PR

- support for archiving sun.invoke.util.Wrapper enums. This is a 
preliminary step for archiving LambdaForms.

- the ability to store classes in initialized state. This PR does it for 
enums and a few other classes. More classes will be added to the 
aot-init list in subsequent PRs.


The plan [2] is to break down JEP 483 in a series of 7 PRs to make it 
easier to review. I will post the other PRs soon.

Thanks

- Ioi

===

[1] https://openjdk.org/jeps/483
[2] https://bugs.openjdk.org/browse/JDK-8331497



More information about the leyden-dev mailing list