Add VM option to change classlist during CDS dump

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: 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


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

              Created:
              Updated:
              Resolved: