Integrated: 8372802: PrintFlagsFinal should also print locked flags
Frederic Thevenet
fthevenet at openjdk.org
Thu Dec 4 08:26:19 UTC 2025
On Mon, 1 Dec 2025 14:56:54 GMT, Frederic Thevenet <fthevenet at openjdk.org> wrote:
> This change aims to provide a way to print all flags including "locked" ones (e.g. Diagnostic and Experimental) without having to explicitly set `+UnlockExperimentalVMOptions` or `+UnlockDiagnosticVMOptions`
>
> This applies to the following VM options: `PrintFlagsFinal` , `PrintFlagsRanges`, `PrintFlagsInitial`, `PrintFlagsWithComments`, `-XprintFlags`, as well as the `PrintVMFlagsDCmd` diagnostic command (when set to show all flags).
>
> Places that print out only flags that have been changed (i.e. that skip flags with default values), like when during the generation of hs_err reports, are not affected by this.
This pull request has now been integrated.
Changeset: 771253e2
Author: Frederic Thevenet <fthevenet at openjdk.org>
Committer: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/771253e285c48329a9b45dfaaa852b64e74b31d4
Stats: 70 lines in 2 files changed: 69 ins; 0 del; 1 mod
8372802: PrintFlagsFinal should also print locked flags
Reviewed-by: dholmes, stuefe, lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/28579
More information about the hotspot-runtime-dev
mailing list