Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8234693 Consolidate CDS static and dynamic archive dumping code
  3. JDK-8236366

Consolidate static and dynamic CDS method adapter trampoline allocation

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:

      Description

      This is the second step of JDK-8234693 Consolidate CDS static and dynamic archive dumping code
      ----

      In dynamic CDS dumping, method entry trampolines are allocated in DynamicArchiveBuilder::make_trampolines()

      http://hg.openjdk.java.net/jdk/jdk/file/f33197adda9a/src/hotspot/share/memory/dynamicArchive.cpp#l803

      whereas in static CDS dumping, it's done in CDSAdapterHandlerEntry::init()

      http://hg.openjdk.java.net/jdk/jdk/file/f33197adda9a/src/hotspot/share/runtime/sharedRuntime.cpp#l3172

      We should convert the static dumping to the former, which avoids special handling during regular method linking.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccheung Calvin Cheung
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: