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

Adding new API for unlocking diagnostic argument for SharedArchiveFile

XMLWordPrintable

    • b37
    • Not verified

        We currently have this flag just for running unit tests, etc:

          diagnostic(ccstr, SharedArchiveFile, NULL, \
                  "Override the default location of the CDS archive file") \

        However, as part of the CDS enhancement work (see JDK-8046070), this should be changed into a product flag so that it can be used for normal usage scenarios, without having to specify -XX:+UnlockDiagnosticVMOptions.


        The SharedArchiveFile will remain as diagnostic option, however we will add new API for unlocking a specific diagnostic flag:

          unlock_diagnostic()

              jiangli Jiangli Zhou
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: