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

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: P3 P3
    • 16
    • 15
    • hotspot

      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.

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

              Created:
              Updated:
              Resolved: