runtime JVM options
Y Srinivas Ramakrishna
Y.S.Ramakrishna at Sun.COM
Thu Dec 11 11:20:16 PST 2008
% ${JDK}/bin/jinfo -flags <pid>
It should give you a list of the specified C.L. options like so:
-XX:+UseConcMarkSweepGC -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xmx2g
If you want the value of a specific flag that you did not specify on
the command line, you can ask:
% ${JDK}/bin/jinfo -flag -flag CMSMarkStackSizeMax <pid>
And you might get back for example:
-XX:CMSMarkStackSizeMax=4194304
I do not know of a universal jinfo query which will dump all
extant flags though.
-- ramki
----- Original Message -----
From: Victor Cheung <VictorC at ganz.com>
Date: Thursday, December 11, 2008 8:47 am
Subject: runtime JVM options
To: "hotspot-gc-use at openjdk.java.net" <hotspot-gc-use at openjdk.java.net>
> Hihi all,
>
> I cannot seem to find the answer to this. How can we get a list of
> *all* the options and values that a running JVM is using?
>
> victor
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
More information about the hotspot-gc-use
mailing list