-XX:[+|-]HitachiCommaVerboseGC (Option for CSV output)

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

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, perm_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 garbage collection. 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 garbage collection type. "FullGC" or "GC" is output.
gc_info
Indicates the garbage collection information. The information is output in the following format. The unit is kilobyte.

area-length-before-the-garbage-collection,area-length-after-the-garbage-collection,area-size

gc_time
Indicates the elapsed time for garbage collection. 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-garbage-collection,area-length-after-the-garbage-collection,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-garbage-collection,area-length-after-the-garbage-collection,(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-garbage-collection,area-length-after-the-garbage-collection,(area-size)

perm_info
Indicates the Perm information. The information is output in the following format: The unit is in kilobytes.

area-length-before-the-garbage-collection,area-length-after-the-garbage-collection,area-size

cause_info
Indicates the cause number of garbage collection.
When the -XX:-HitachiVerboseGCPrintCause option is specified, this information is not output.
For the garbage collection cause number, see -XX:[+|-]HitachiVerboseGCPrintCause (Option to output the cause of garbage collection).
user_cpu
Indicates the CPU time that the garbage collection thread has consumed in the user mode. The unit is in seconds.
If the -XX:+UseParNewGC option is specified, user_cpu becomes the total CPU time spent in the user mode by all the garbage collection threads.
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 garbage collection thread has consumed in the kernel mode. The unit is in seconds.
If the -XX:+UseParNewGC option is specified, system_cpu becomes the total CPU time spent by all the garbage collection threads in the kernel mode.
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 garbage collection 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 (Option to output the tenuring distribution for the Survivor area).

Examples of output