JDK-8015552 : Add VM option to change classlist during CDS dump
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-05-28
  • Updated: 2014-06-18
  • Resolved: 2014-06-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
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



Comments
This will be fixed as part of JDK-8046070. Closing as a duplicate.
18-06-2014