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.
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.
- duplicates
-
JDK-8243947 [TESTBUG] hotspot/jtreg:hotspot_appcds_dynamic fails when the JDK doesn't have default CDS archive
- Resolved