[STDERR]
An error has occurred while processing the shared archive file.
Unable to map MiscData shared space at required address.
The test should be tolerant of archive mapping failures.
Also this test seems to write to places it shouldn't. If you run this test locally under jtreg the second execution will fail due to:
java.nio.file.FileAlreadyExistsException: /scratch/users/daholme/jdk-dev3/open/test/hotspot/jtreg/JTwork/classes/runtime/cds/appcds/DirClasspathTest.d/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Super.class
You have to delete the directory to allow the test to work again. Ideally the test should be writing into its own temporary working directory, not the location where jtreg puts the compiled class files.
- duplicates
-
JDK-8231224 CDS mapping failure with runtime/cds/appcds/dynamicArchive/WrongTopClasspath.java
-
- Closed
-
-
JDK-8231320 AppCDS FreeUnusedMetadata.java test failed due to "Unable to map MiscData shared space at required address."
-
- Closed
-
-
JDK-8231322 AppCDS MainModuleOnly.java test failed due to "Unable to map MiscData shared space at required address"
-
- Closed
-
- relates to
-
JDK-8249586 Test runtime/cds/appcds/DirClasspathTest.java will fail if run twice
-
- Resolved
-
-
JDK-8231224 CDS mapping failure with runtime/cds/appcds/dynamicArchive/WrongTopClasspath.java
-
- Closed
-
-
JDK-8231320 AppCDS FreeUnusedMetadata.java test failed due to "Unable to map MiscData shared space at required address."
-
- Closed
-
-
JDK-8231322 AppCDS MainModuleOnly.java test failed due to "Unable to map MiscData shared space at required address"
-
- Closed
-