This is for testing CDS with specific test classes. Two options should be added:
(1) to add extra classes to the classlist.
-XX:SharedArchiveClassListAppend=/tmp/append.classlist
(2) to replace the default classlist
-XX:SharedArchiveClassList=/tmp/replace.classlist
Note: these options should probably be used together with something like this (for both dump time and run time):
-Xbootclasspath/a:/tmp/testclasses.jar
(1) to add extra classes to the classlist.
-XX:SharedArchiveClassListAppend=/tmp/append.classlist
(2) to replace the default classlist
-XX:SharedArchiveClassList=/tmp/replace.classlist
Note: these options should probably be used together with something like this (for both dump time and run time):
-Xbootclasspath/a:/tmp/testclasses.jar
- duplicates
-
JDK-8046070 Class Data Sharing clean up and refactoring
-
- Closed
-
- relates to
-
JDK-8014138 Add VM option to facilitate the writing of CDS tests
-
- Closed
-