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

Move CDS heap oopmaps into new MetaspaceShared::bm region

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      After JDK-8231610 (Relocate the CDS archive if it cannot be mapped to the requested address), we will have a new "bm" region that's used only during archive loading, and will be unmapped afterwards to save memory footprint. This region will be a good place for the CDSFileMapRegion::oopmap, which is also needed only during archive loading.

      http://hg.openjdk.java.net/jdk/jdk/file/13ad9a1bac18/src/hotspot/share/include/cds.h#l53

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: