Store method handle intrinsics in AOTCache

XMLWordPrintable

      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.

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: