Consolidate object copying code for CDS static/dynamic archive dumping

XMLWordPrintable

    • b12

      Both static and dynamic archive dumping use MetaspaceClosure for copying MetaspaceObjs into an output buffer:

      http://hg.openjdk.java.net/jdk/jdk/file/4d36e29a5410/src/hotspot/share/memory/metaspaceShared.cpp#l1351
      http://hg.openjdk.java.net/jdk/jdk/file/4d36e29a5410/src/hotspot/share/memory/dynamicArchive.cpp#l168

      There's a lot of duplication between the two variants. They should be consolidated.

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

              Created:
              Updated:
              Resolved: