Mercurial > hg > truffle
changeset 19181:9ee881900cf5
PrintFlagsWithComments should respect UnlockDiagnosticVMOptions
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 06 Feb 2015 11:31:59 -0800 |
parents | e99be967a753 |
children | 8cd798884d60 |
files | src/share/vm/runtime/arguments.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Fri Feb 06 18:03:49 2015 +0100 +++ b/src/share/vm/runtime/arguments.cpp Fri Feb 06 11:31:59 2015 -0800 @@ -3585,6 +3585,12 @@ if (match_option(option, "-XX:-IgnoreUnrecognizedVMOptions", &tail)) { IgnoreUnrecognizedVMOptions = false; } + if (match_option(option, "-XX:+UnlockDiagnosticVMOptions", &tail)) { + UnlockDiagnosticVMOptions = true; + } + if (match_option(option, "-XX:-UnlockDiagnosticVMOptions", &tail)) { + UnlockDiagnosticVMOptions = false; + } if (match_option(option, "-XX:+PrintFlagsInitial", &tail)) { CommandLineFlags::printFlags(tty, false); vm_exit(0);