JDK-8329706 : Implement -XX:+AOTClassLinking
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2024-04-04
  • Updated: 2024-11-15
  • Resolved: 2024-11-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24Resolved
Related Reports
CSR :  
Duplicate :  
Duplicate :  
Duplicate :  
Description
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.
Comments
Fixed as part of JDK-8331497: Implement JEP 483: Ahead-of-Time Class Loading & Linking
15-11-2024

A pull request was submitted for review. Branch: pr/20517 URL: https://git.openjdk.org/jdk/pull/20843 Date: 2024-09-03 20:57:48 +0000
04-09-2024