Please review -XshowSettings a java launcher option.
Alan Bateman
Alan.Bateman at oracle.com
Fri Nov 12 09:40:30 UTC 2010
David Holmes wrote:
> :
>
> I'd be tempted to just drop the "VM options" part of this, unless you
> are going to make a call into the VM to obtain them.
>
I was wondering about this too, or rather thinking that -XshowsSettings
might likely be used in conjunction with other options like -showversion
or VM specific options. For example, someone might do this:
java -XX+PrintCommandLineFlags -XshowSettings -showversion Foo
and the logs will capture the heap settings, the properties and locale
info printed by showSettings, and the HotSpot and JDK version printed by
-showversion. The only one that I'm sure is the default stack limit
(when -Xss<size> or -XX:ThreadStackSize=<size> isn't specified) as I
don't think we have a VM option to print that (except with
+PrintFlagsFinal dump of course).
-Alan.
More information about the core-libs-dev
mailing list