Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


7.6.5 -XX:[+|-]HitachiVerboseGCPrintCause

-XX:[+|-]HitachiVerboseGCPrintCause outputs details on the causes of GC.

Description

-XX:[+|-]HitachiVerboseGCPrintCause specifies whether details on the causes of GC are to be output.

Prerequisite option
  • -XX:+HitachiVerboseGC

If the -XX:+HitachiCommaVerboseGC option is specified, the following cause numbers are output.

Table 7‒6: List of GC causes

Cause number

Cause content

Description

GC type

Other than G1GC

G1GC

0

ObjAllocFail

GC occurred because the object area could not be allocated.

Y

Y

1

System.gc

GC occurred because the java.lang.System.gc method was called.

Y

Y

3

DelayedGC

GC that was suspended by JNI or JVMTI was started.

Y

Y

4

JavaGCCommand

GC occurred due to the javagc command.

Y

Y

6

JHeapProfCommand

GC occurred due to the jheapprof command.

Y

N

8

EMReclaimFail

Because objects were moved to the Java heap due to explicit release of Explicit memory, the Java heap overflowed.

Y

N

9

EMMigrateFail

Because objects were moved to the Java heap due to automatic release of Explicit memory, the Java heap overflowed.

Y

N

10

JVMTIForceGC

GC occurred due to the JVMTI function ForceGarbageCollection().

Y

Y

11

PromotionFail

GC occurred due to a CopyGC promotion failure.

Y

N

12

EMJavaGCCommand

GC occurred because an Explicit memory block was released by the javagc command.

Y

Y

13

EHeapProfCommand

GC occurred due to the eheapprof command.

Y

Y

14

G1HumAllocFail

When G1GC was used, GC occurred because a Humongous area was allocated.

N

Y

15

G1EvacuationPause

An evacuation occurred when G1GC was used.

N

Y

16

Concurrent Marking

No GC occurred but the Concurrent Marking processing, which stops and executes applications, was logged.

N

Y

17

EvacuationFail

When G1GC was used, GC occurred due to an evacuation failure.

N

Y

18

MetaspaceAllocFail

GC occurred because the Metaspace area could not be allocated.

Y

Y

19

LastMetaspaceGC

The last GC occurred before a Metaspace OutOfMemory error occurred.

Y

Y

Legend:

Y: Output.

N: Not output.

Syntax

-XX:[+|-]HitachiVerboseGCPrintCause

Specifiable values

Type: String

-XX:+HitachiVerboseGCPrintCause

Outputs details on the causes of GC at the end of the extended verbosegc information.

-XX:-HitachiVerboseGCPrintCause

Outputs the extended verbosegc information in the normal format.

Default value

If the definition item is omitted:

-XX:+HitachiVerboseGCPrintCause

Examples

Example 1 (if SerialGC is selected when the -XX:+HitachiVerboseGC option is selected)
[VGC]<Thu Oct 02 10:38:53.658 2014>(Skip Full:1,Copy:0)
[Full GC 770K->682K(8064K), 0.0050003 secs][DefNew::Eden: 88K->0K(2304K)]
[DefNew::Survivor: 0K->0K(256K)][Tenured: 681K->682K(5504K)] 
[Metaspace: 3634K(4492K, 4492K)->3634K(4492K, 4492K)]
[class space: 356K(388K, 388K)->356K(388K, 388K)] 
[cause:System.gc][User: 0.0000000 secs][Sys: 0.0000000 secs]
[IM: 11944K, 12448K, 0K][TC: 22][DOE: 0K, 0][CCI: 1173K, 245760K, 2496K]
Example 2 (if G1GC is selected when the -XX:+HitachiVerboseGC option is selected)
  • GC-related log

    [VG1]<Thu Oct 02 10:38:56.193 2014>
    [Full GC 753K/2048K(8192K)->678K/1024K(8192K), 0.0097901 secs][Status:-]
    [G1GC::Eden: 1024K(2048K)->0K(2048K)][G1GC::Survivor: 0K->0K]
    [G1GC::Tenured: 1024K->1024K][G1GC::Humongous: 0K->0K]
    [G1GC::Free: 6144K->7168K] [Metaspace: 3634K(4492K, 4492K)->3634K(4492K, 4492K)]
    [class space: 356K(388K, 388K)->356K(388K, 388K)] [cause:System.gc]
    [RegionSize: 1024K][Target: 0.2000000 secs][Predicted: 0.0000000 secs]
    [TargetTenured: 0K][Reclaimable: 0K(0.00%)][User: 0.0000000 secs]
    [Sys: 0.0000000 secs][IM: 20459K, 21920K, 0K][TC: 35][DOE: 0K, 0]
    [CCI: 1172K, 245760K, 2496K]
  • Concurrent Marking related log

    [VCM]<Wed Jul 24 11:45:20 2013>[Concurrent Root Region Scan Start]
    [User: 0.0000000 secs][Sys: 0.0000000 secs]
    [VCM]<Wed Jul 24 11:45:20 2013>[Concurrent Root Region Scan End]
    [User: 0.0126134 secs][Sys: 0.0146961 secs]
    [VCM]<Wed Jul 24 11:45:20 2013>[Concurrent Mark Start][User: 0.0000000 secs]
    [Sys: 0.0000000 secs]
    [VCM]<Wed Jul 24 11:45:34 2013>[Concurrent Mark End][User: 0.0156250 secs]
    [Sys: 0.2495800 secs]
Example 3 (if SerialGC is selected when the -XX:+HitachiCommaVerboseGC option is selected)
VGC,Thu Oct 02 10:38:52.442 2014,1,0,0,Full GC,770,682,8064,0.0040002,88,0,2304,
0,0,256,681,682,5504,3634,3634,4492,3634,3634,4492,356,356,388,356,356,388,1,0.
0000000,0.0000000,11913,12448,0,22,0,0,1173,245760,2496
Example 4 (if G1GC is selected when the -XX:+HitachiCommaVerboseGC option is selected)
  • GC-related log

    VG1,Thu Oct 02 10:38:54.920 2014,Full GC,753,2048,8192,678,1024,8192,0.0064767,
    -,1024,2048,0,2048,0,0,1024,1024,0,0,6144,7168,3634,3634,4492,3634,3634,4492,
    356,356,388,356,356,388,1,1024,0.2000000,0.0000000,0,0,0.00,0.0000000,
    0.0000000,20459,21920,0,35,0,0,1171,245760,2496
  • Concurrent Marking related log

    VCM,Fri Jul 26 21:35:50 2013,Concurrent Mark Start,0.0000000,0.0000000
    VCM,Fri Jul 26 21:35:50 2013,Concurrent Mark End,0.0124532,0.0245698