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 ofJDK-8293336.
https://github.com/iklam/jdk/blob/83a34086bc841b4ccf64b1817561f73b68b585eb/src/hotspot/share/classfile/systemDictionary.cpp#L2056
When archiving LambdaForm objects into the AOTCache (
This RFE stores such Methods in the CDS archive, as a prerequisite of
- blocks
-
JDK-8293336 AOT-linking of invokedynamic for lambda expression and string concat
-
- Closed
-
- duplicates
-
JDK-8331497 Implement JEP 483: Ahead-of-Time Class Loading & Linking
-
- Resolved
-
- links to
-
Review(pr/20958) openjdk/jdk/20959