This is the first step of JDK-8315737
- If -XX:+ AOTClassLinking is specified during CDS archive assembly, marked all applicable classes in the archive that should be loaded immediately upon application start (aka "preloaded classes").
- At application start, if its CDS archive(s) were created with -XX:+ AOTClassLinking, disable CDS completely when an incompatible configuration is detected (e.g., if JVMTI ClassFileLoadHook is enabled).
- When the three main class loaders (boot, platform, app) are created, add AOT-linked classes to these loaders.
- If -XX:+ AOTClassLinking is specified during CDS archive assembly, marked all applicable classes in the archive that should be loaded immediately upon application start (aka "preloaded classes").
- At application start, if its CDS archive(s) were created with -XX:+ AOTClassLinking, disable CDS completely when an incompatible configuration is detected (e.g., if JVMTI ClassFileLoadHook is enabled).
- When the three main class loaders (boot, platform, app) are created, add AOT-linked classes to these loaders.
- csr for
-
JDK-8339506 Implement -XX:+AOTClassLinking
- Closed
- duplicates
-
JDK-8329714 Resolve CONSTANT_FieldRef for -XX:+AOTClassLinking
- Closed
-
JDK-8329715 Resolve CONSTANT_MethodRef for -XX:+AOTClassLinking
- Closed
-
JDK-8331497 Implement JEP 483: Ahead-of-Time Class Loading & Linking
- Resolved
- links to
-
Review(pr/20517) openjdk/jdk/20843