Help processing G1GC logs (visualization tools) - also, mysterious great performance after inexplicable full GC?
Bernd Eckenfels
bernd.eckenfels at googlemail.com
Wed Oct 17 21:50:38 PDT 2012
Am 18.10.2012, 05:36 Uhr, schrieb Aaron Daubman <daubman at gmail.com>:
> What would be a good way for me to find this out? (e.g. is there an
> up-to-date list of flags and defaults for current JDK versions?)
You can add "-XX:+PrintCommandLineFlags", this way the VM will print in
the first line after start the command line flags you have specified as
well as the ones which have been enabled/disabled automatically.
For the defaults (= sign) and specified (:= sign) values of the vm
options, you can use something like this:
C:\Users\eckenfel>java -XX:+UseG1GC -XX:+PrintFlagsFinal -version | find
"Stack"
uintx CMSRevisitStackSize = 1048576
{product}
intx CompilerThreadStackSize = 0 {pd
product}
intx G1MarkRegionStackSize = 1048576
{product}
uintx GCDrainStackTargetSize = 64
{product}
bool JavaMonitorsInStackTrace = true
{product}
uintx MarkStackSize = 16777216
{product}
uintx MarkStackSizeMax = 536870912
{product}
intx MaxJavaStackTraceDepth = 1024
{product}
bool OmitStackTraceInFastThrow = true
{product}
intx OnStackReplacePercentage = 140 {pd
product}
uintx PreserveMarkStackSize = 1024
{product}
intx StackRedPages = 1 {pd
product}
intx StackShadowPages = 6 {pd
product}
bool StackTraceInThrowable = true
{product}
intx StackYellowPages = 2 {pd
product}
intx ThreadStackSize = 0 {pd
product}
bool UseOnStackReplacement = true {pd
product}
intx VMThreadStackSize = 0 {pd
product}
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
Bernd
More information about the hotspot-gc-use
mailing list