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

Increase AppCDS test coverage with ZGC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 15
    • hotspot

      Some AppCDS tests when running with the ZGC option such as -vmoptions:"-XX:MaxRAMPercentage=6 -XX:+CreateCoredumpOnCrash -XX:+UnlockExperimentalVMOptions -XX:+UseZGC" have the Passed status as follows:

      STATUS:Passed.Skipped: jtreg.SkippedException: Unable to map shared archive: test did not complete

      The "Unable to map shared archive" is due to the default CDS archive was generated during build time without the ZGC option and with the UseCompressedOops and UseCompressedClassPointers options enabled. During dynamic CDS archive creation time, if the ZGC is enabled, the compressed options will be disabled automatically and thus failure to map to the default CDS archive.

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

              Created:
              Updated:
              Resolved: