JDK-8293337 : Store method handle intrinsics in AOTCache
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2022-09-03
  • 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
Blocks :  
Duplicate :  
Description
SystemDictionary::find_method_handle_intrinsic() generates special Methods. These methods aren't loaded from regular classfiles. As a result, they are not currently stored into the AOTCache.

https://github.com/iklam/jdk/blob/83a34086bc841b4ccf64b1817561f73b68b585eb/src/hotspot/share/classfile/systemDictionary.cpp#L2056

When archiving LambdaForm objects into the AOTCache (JDK-8293336), we encounter ResolvedMethodName objects whose vmtarget field points to such Methods.

This RFE stores such Methods in the CDS archive, as a prerequisite of JDK-8293336.

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/20958 URL: https://git.openjdk.org/jdk/pull/20959 Date: 2024-09-12 03:42:05 +0000
13-09-2024

Prototype: https://github.com/iklam/jdk/tree/8293337-archive-method-handle-intrinsics
20-10-2022