Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261608

Move common CDS archive building code to archiveBuilder.cpp

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • None
    • hotspot
    • b10

    Description

      This is a follow-up to JDK-8250989:

      - Move common code for writing the CDS archive from metaspaceShared.cpp to archiveBuilder.cpp

      - Data structures related to dumping were haphazardly organized in several classes (e.g., DumpRegions). We needed various APIs to access them across classes. These should be consolidated in archiveBuilder.cpp and the API should be cleaned up

      - Detailed stats (DumpAllocStats::print_stats) were available only for static dump. Refactor the code so they are also printed for dynamic dump

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: