-XX:[+|-]HitachiCommaVerboseGC (Option for CSV output)
- Organization of this page
Format
- -XX:+HitachiCommaVerboseGC
-
This option outputs the extended verbosegc information in the comma format so that the output can be obtained in a CSV file.
Delete all brackets (parenthesis (), square brackets [], angle brackets <>) and colons (:), and output the comma-delimited numeric values or character strings (,).
- -XX:-HitachiCommaVerboseGC
-
This option outputs the extended verbosegc information in the normal format.
Description
Specify whether to output the extended verbosegc information in CSV format.
- Default value
-
-
-XX:-HitachiCommaVerboseGC
-
- Prerequisite options
-
-
-XX:+HitachiVerboseGC
-
Output format (if serial GC is used)
The following are the output contents when the -XX:-HitachiVerboseGCIntervalTime option is specified:
id, date, full_count, copy_count, inc_count, gc_kind, gc_info, gc_time, eden_info, survivor_info,tenured_info, metaspace_info, classspace_info, cause_info, user_cpu, system_cpu, jvm_alloc_size, mmap_total_size, malloc_total_size, thread_count, doe_alloc_size, called_count, cc_used_size, cc_max_size, cc_info
- id
-
Indicates the identifier for JavaVM log file.
- date
-
Indicates the date and time for starting GC. When the -XX:-HitachiVerboseGCPrintDate option is specified, the date is not output.
- full_count
-
Indicates the number of times the output of full GC information is skipped.
This is output when the -XX:HitachiVerboseGCIntervalTime option is specified.
- copy_count
-
Indicates the number of times the output of copy GC information is skipped.
This is output when the -XX:HitachiVerboseGCIntervalTime option is specified.
- inc_count
-
0 is displayed.
This is output when the -XX:HitachiVerboseGCIntervalTime option is specified.
- gc_kind
-
Indicates the GC type. "FullGC" or "GC" is output.
- gc_info
-
Indicates the GC information. The information is output in the following format. The unit is kilobyte.
area-length-before-the-GC,area-length-after-the-GC,area-size
- gc_time
-
Indicates the elapsed time for GC. The unit is in seconds.
- eden_info
-
Indicates the Eden information. The information is output in the following format: The unit is in kilobytes.
area-length-before-the-GC,area-length-after-the-GC,area-size
- survivor_info
-
Indicates the Survivor information. The information is output in the following format: The unit is in kilobytes.
area-length-before-the-GC,area-length-after-the-GC,(area-size)
- tenured_info
-
Indicates the Tenured information. The information is output in the following format: The unit is in kilobytes.
area-length-before-the-GC,area-length-after-the-GC,(area-size)
- metaspace_info
-
Indicates the information about the metaspace area. The information is output in the following format: The unit is kilobytes.
size-of-used-area-before-GC, size-of-capacity-before-GC, size-of-committed-area-before-GC, size-of-used-area-after-GC, size-of-capacity-after-GC, size-of-committed-area-after-GC
- classspace_info
-
Indicates the information about the compressed class space. The information is output in the following format: The unit is kilobytes.
size-of-used-area-before-GC, size-of-capacity-before-GC, size-of-committed-area-before-GC, size-of-used-area-after-GC, size-of-capacity-after-GC, size-of-committed-area-after-GC
- cause_info
-
Indicates the cause number of GC.
When the -XX:-HitachiVerboseGCPrintCause option is specified, this information is not output.
For the GC cause number, see -XX:[+|-]HitachiVerboseGCPrintCause (Option to output the cause of GC).
- user_cpu
-
Indicates the CPU time that the GC thread has consumed in the user mode. The unit is in seconds.
If fails to obtain the CPU time, unknown is displayed.
When the -XX:-HitachiVerboseGCCpuTime option is specified, the information is not output.
- system_cpu
-
Indicates the CPU time that the GC thread has consumed in the kernel mode. The unit is in seconds.
If fails to obtain the CPU time, unknown is displayed.
When the -XX:-HitachiVerboseGCCpuTime option is specified, the information is not output.
- jvm_alloc_size
-
Specifies the size of the area currently in use, from the areas being managed in JavaVM (size of the area currently in use, from the total size of mmap_total_size and malloc_total_size). The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintJVMInternalMemory option is specified, this information is not output.
- mmap_total_size
-
Specifies the total C heap size allocated for mmap (VirtualAlloc in Windows), from the areas being managed in JavaVM. The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintJVMInternalMemory option is specified, this information is not output.
- malloc_total_size
-
Specifies the total C heap size allocated for malloc, from the areas being managed in JavaVM. The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintJVMInternalMemory option is specified, this information is not output.
- thread_count
-
Specifies the number of Java threads.
When the -XX:-HitachiVerboseGCPrintThreadCount option is specified, this information is not output.
- doe_alloc_size
-
Specifies the cumulative heap size allocated by invoking the java.io.File.deleteOnExit()method. The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintDeleteOnExit option is specified, this information is not output.
- called_count
-
Specifies the invocation count of the java.io.File.deleteOnExit() method.
When the -XX:-HitachiVerboseGCPrintDeleteOnExit option is specified, this information is not output.
- cc_used_size
-
Specifies the size of the code cache area used when the GC occurs. The unit is kilobyte.
When the -XX:-PrintCodeCacheInfo option is specified, this information is not output.
- cc_max_size
-
Specifies the maximum size of the code cache area. The unit is kilobyte.
When the -XX:-PrintCodeCacheInfo option is specified, this information is not output.
- cc_info
-
Specifies the maintenance information.
When the -XX:-PrintCodeCacheInfo option is specified, this information is not output.
The following are the output contents when the -XX:+HitachiVerboseGCPrintTenuringDistribution option is specified:
id, date, size, value, max_value, total_age1, total_age2, total_agen
For output contents, see -XX:[+|-]HitachiVerboseGCPrintTenuringDistribution (Age distribution output option of Survivor area).
Output format (if G1 GC is used)
-
VG1 log
id, date, gc_kind, gc_info, gc_time, gc_status, eden_info, survivor_info,tenured_info, humongous_info, free_info, metaspace_info, classspace_info, cause_info, region_size, target_time, predicted_time, target_size, reclaimable_info, user_cpu, system_cpu, jvm_alloc_size, mmap_total_size, malloc_total_size, thread_count, doe_alloc_size, called_count, cc_used_size, cc_max_size, cc_info
- id
-
Indicates the identifier for JavaVM log file.
- date
-
Indicates the date and time for starting GC. When the -XX:-HitachiVerboseGCPrintDate option is specified, the date is not output.
- gc_kind
-
Indicates the GC type. One of the following strings is output: Full GC, Mixed GC, Young GC, Young GC(initial-mark), CM Remark, or CM Cleanup.
- gc_info
-
Indicates the GC information. The information is output in the following format. The unit is kilobyte.
area-size-before-GC, region-conversion-as-area-size-before-GC, area-size-before-GC, area-size-after-GC, region-conversion-as-area-size-after-GC, area-size-after-GC
In the preceding format, region conversion is a value that rounds up the area size to the size of one region and is expressed as a multiple of the size of one region.
- gc_time
-
Indicates the elapsed time for GC.
- gc_status
-
Indicates the status of GC. Either - or to exhausted is output.
- eden_info
-
Indicates the Eden information. The information is output in the following format:
region-conversion-as-area-size-before-GC, region-conversion-as-maximum-area-size-before-GC, region-conversion-as-area-size-after-GC, region-conversion-as-maximum-area-size-after-GC
In the preceding format, region conversion is a value that rounds up the area size to the size of one region and is expressed as a multiple of the size of one region.
- survivor_info
-
Indicates the Survivor information. The information is output in the following format:
region-conversion-as-area-size-before-GC, region-conversion-as-area-size-after-GC
In the preceding format, region conversion is a value that rounds up the area size to the size of one region and is expressed as a multiple of the size of one region.
- tenured_info
-
Indicates the Tenured information. The information is output in the following format:
region-conversion-as-area-size-before-GC, region-conversion-as-area-size-after-GC
In the preceding format, region conversion is a value that rounds up the area size to the size of one region and is expressed as a multiple of the size of one region.
- humongous_info
-
Indicates the Humongous information. The information is output in the following format:
region-conversion-as-area-size-before-GC, region-conversion-as-area-size-after-GC
In the preceding format, region conversion is a value that rounds up the area size to the size of one region and is expressed as a multiple of the size of one region.
- free_info
-
Indicates the Free information. The information is output in the following format:
region-conversion-as-area-size-before-GC, region-conversion-as-area-size-after-GC
In the preceding format, region conversion is a value that rounds up the area size to the size of one region and is expressed as a multiple of the size of one region.
- metaspace_info
-
Indicates the information about the metaspace area. The information is output in the following format: The unit is kilobytes.
size-of-used-area-before-GC, size-of-capacity-before-GC, size-of-committed-area-before-GC, size-of-used-area-after-GC, size-of-capacity-after-GC, size-of-committed-area-after-GC
- classspace_info
-
Indicates the information about the compressed class space. The information is output in the following format: The unit is kilobytes.
size-of-used-area-before-GC, size-of-capacity-before-GC, size-of-committed-area-before-GC, size-of-used-area-after-GC, size-of-capacity-after-GC, size-of-committed-area-after-GC
- cause_info
-
Indicates the cause number of GC.
When the -XX:-HitachiVerboseGCPrintCause option is specified, this information is not output.
For the GC cause number, see -XX:[+|-]HitachiVerboseGCPrintCause (Option to output the cause of GC).
- region_size
-
Indicates the size of one region.
A value in KB is output.
- target_time
-
Indicates the target value of the time for which the application will stop during GC.
A value in seconds is output.
- predicted_time
-
Indicates the time for which the application will stop during GC predicted by Java VM.
A value in seconds is output.
Note that if the GC type is Full GC, CM Remark, or CM Cleanup, 0 is output because no prediction is performed.
- target_size
-
Indicates the size of the tenured area subject to mixed GC.
A value in KB is output.
Note that if the GC type is not Mixed GC, 0 is output.
- reclaimable_info
-
Indicates the predicted information about the size of the tenured area that will be reclaimed by mixed GC. The information is output in the following format:
predicted-size-of-reclaimable-area (predicted-ratio-of-reclaimable-area)
Note that information of predicted size of reclaimable area is output only for young GC or mixed GC that immediately follows completion of concurrent marking (CM). In other cases, 0 is output because no prediction is performed.
- user_cpu
-
Indicates the CPU time that the GC thread has consumed in the user mode. The unit is in seconds.
If fails to obtain the CPU time, unknown is displayed.
When the -XX:-HitachiVerboseGCCpuTime option is specified, the information is not output.
- system_cpu
-
Indicates the CPU time that the GC thread has consumed in the kernel mode. The unit is in seconds.
If fails to obtain the CPU time, unknown is displayed.
When the -XX:-HitachiVerboseGCCpuTime option is specified, the information is not output.
- jvm_alloc_size
-
Indicates the size of the area currently in use, from the areas being managed in JavaVM (size of the area currently in use, from the total size of mmap_total_size and malloc_total_size). The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintJVMInternalMemory option is specified, this information is not output.
- mmap_total_size
-
Indicates the total C heap size allocated for mmap (VirtualAlloc in Windows), from the areas being managed in JavaVM. The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintJVMInternalMemory option is specified, this information is not output.
- malloc_total_size
-
Indicates the total C heap size allocated for malloc, from the areas being managed in JavaVM. The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintJVMInternalMemory option is specified, this information is not output.
- thread_count
-
Indicates the number of Java threads.
When the -XX:-HitachiVerboseGCPrintThreadCount option is specified, this information is not output.
- doe_alloc_size
-
Indicates the cumulative heap size allocated by invoking the java.io.File.deleteOnExit()method. The unit is in kilobytes.
When the -XX:-HitachiVerboseGCPrintDeleteOnExit option is specified, this information is not output.
- called_count
-
Indicates the invocation count of the java.io.File.deleteOnExit() method.
When the -XX:-HitachiVerboseGCPrintDeleteOnExit option is specified, this information is not output.
- cc_used_size
-
Indicates the size of the code cache area used when the GC occurs. The unit is kilobyte.
When the -XX:-PrintCodeCacheInfo option is specified, this information is not output.
- cc_max_size
-
Indicates the maximum size of the code cache area. The unit is kilobyte.
When the -XX:-PrintCodeCacheInfo option is specified, this information is not output.
- cc_info
-
Indicates the maintenance information.
When the -XX:-PrintCodeCacheInfo option is specified, this information is not output.
The following are the output contents when the -XX:+HitachiVerboseGCPrintTenuringDistribution option is specified:
id, date, size, value, max_value, total_age1, total_age2, total_agen
For output contents, see -XX:[+|-]HitachiVerboseGCPrintTenuringDistribution (Age distribution output option of Survivor area).
-
VCM log
id,date,cm_event,user_cpu,sys_spu
- id
-
VGM (Identifier of the JavaVM log file)
- date
-
Indicates the date and time for starting CM.
When the -XX:-HitachiVerboseGCPrintDate option is specified, the date is not output.
- cm_event
-
Indicates the CM type. One of the following strings is output: Concurrent Root Region Scan Start, Concurrent Root Region Scan End, Concurrent Mark Start, Concurrent Mark End, Concurrent Mark Stop, Concurrent Cleanup Start, or Concurrent Cleanup End.
- user_cpu
-
Indicates the CPU time that all CM threads consumed in the user mode. A value in seconds is output.
When the -XX:-HitachiVerboseGCCpuTime option is specified, the information is not output.
If fails to obtain the CPU time, unknown is displayed.
If the status of CM is Start, 0 is output.
- sys_cpu
-
Indicates the CPU time that all CM threads consumed in the kernel mode. A value in seconds is output.
When the -XX:-HitachiVerboseGCCpuTime option is specified, the information is not output.
If fails to obtain the CPU time, unknown is displayed.
If the status of CM is Start, 0 is output.
Examples of output
If serial GC is used:
-
When -XX:HitachiVerboseGCIntervalTime option is specified
VGC,Fri Jan 23 21:37:50 2004,11,41,0,GC,16886,16886,65088,0.0559806, 4094,0,4096,447,447,448,12345,16439,60544,1116,1116,4096,0,0.0312500, 0.0156250,729,928,0,509,2167,2054,2301,49152,2304 VGC,Fri Jan 23 21:37:55 2004,6,24,0,Full GC,65082,65082,65088,0.4294532, 4094,4094,4096,447,447,448,60541,60541,60544,1116,1116,4096,0,0.0156250, 0.0312500,729,928,0,509,16,170,2301,49152,2304 ...
-
When -XX:+HitachiVerboseGCPrintTenuringDistribution option is specified
PTD,Wed May 28 11:45:23 2008,5467547,30,31,1357527,1539661
If G1 GC is used:
-
VG1 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
-
VCM 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