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

Update NUM_CDS_REGIONS and CURRENT_CDS_ARCHIVE_VERSION in cds.h

XMLWordPrintable

    • b30
    • generic
    • generic

        1)The NUM_CDS_REGIONS should match the MetaspaceShared::n_regions.
        The od (optional data) region was removed after the fix for JDK-8218751. Therefore, the NUM_CDS_REGIONS should be one less than the current value.

        2) The CDS archive header was modified for the Dynamic CDS archive (JDK-8207812). Therefore, the CURRENT_CDS_ARCHIVE_VERSION should be updated.

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

                Created:
                Updated:
                Resolved: