|
Relates :
|
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()