JDK-8354887 : Preserve runtime blobs in AOT code cache
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-04-16
  • Updated: 2025-05-23
  • Resolved: 2025-05-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 25
25 b24Fixed
Related Reports
Blocks :  
Causes :  
Causes :  
Causes :  
Causes :  
Causes :  
Causes :  
Causes :  
Description
JEP 483 (JDK-8315737) preserves class information in AOT cache which help startup performance.
And JDK-8350209 preserves adapters in AOT cache.
We should also preserve stubs to avoid their generation during startup.
Comments
Changeset: c59debb3 Branch: master Author: Ashutosh Mehra <asmehra@openjdk.org> Date: 2025-05-15 17:18:56 +0000 URL: https://git.openjdk.org/jdk/commit/c59debb3844d009ac501a48c31822a07f00521e9
15-05-2025

[~asmehra] I see you added your own test. Good. I attached test DifferentCompressedOopsEncoding.java which Ioi suggested to test different oops encoding.
12-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25019 Date: 2025-05-03 04:10:01 +0000
03-05-2025