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

Add VM option to change classlist during CDS dump

XMLWordPrintable

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

      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


            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: