-XX:[+|-]HitachiVerboseGCPrintJVMInternalMemory (Option to output the C heap information)
- Organization of this page
Format
- -XX:+HitachiVerboseGCPrintJVMInternalMemory
-
This option outputs the heap information being managed in JavaVM to the JavaVM log file.
- -XX:-HitachiVerboseGCPrintJVMInternalMemory
-
This option does not output the heap information being managed in JavaVM to the JavaVM log file.
Description
Specifies whether to output the heap information being managed in JavaVM to the JavaVM log file.
From the C heap areas, the heap area obtained using the following two methods is managed in JavaVM:
-
C heap area obtained with mmap
-
C heap area obtained with malloc
If you enable the -XX:+HitachiVerboseGCPrintJVMInternalMemory option, you can output the total C heap size obtained with mmap (mmap_total_size) and the total C heap size obtained with malloc (malloc_total_size). You can also output the total size of the area in use from these allocated areas (jvm_alloc_size).
- Default value
-
-
-XX:+HitachiVerboseGCPrintJVMInternalMemory
-
- Prerequisite options
-
-
-XX:+HitachiVerboseGC
-
Output format
[id] date (Skip Full:full_count, Copy:copy_count, Inc:inc_count) [gc_kind gc_info, gc_time secs][Eden: eden_info][Survivor: survivor_info][Tenured: tenured_info][Metaspace: metaspace_info][class space: class_space_info][cause:cause_info] [User: user_cpu secs][Sys: system_cpu secs][IM: jvm_alloc_size, mmap_total_size, malloc_total_size][TC: thread_count][DOE: doe_alloc_size, called_count]
The output contents are explained below. Note that the following explains the items output by this option. For items other than explained below, see the output format described in the -XX:[+|-]HitachiVerboseGC (Option for extended verbosegc information 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).
- mmap_total_size
-
Specifies the total C heap size allocated for mmap (VirtualAlloc in Windows), from the areas being managed in JavaVM.
- malloc_total_size
-
Specifies the total C heap size allocated for malloc, from the areas being managed in JavaVM.
Examples of output
[VGC]<Wed Jan 27 13:03:36 2010>(Skip Full:0,Copy:0)[GC 489K->152K(3520K), 0.0156080 secs][DefNew::Eden: 489K->0K(2048K)][DefNew::Survivor: 0K->63K(64K)][Tenured: 0K->88K(1408K)][Metaspace: 3634K(4492K, 4492K)->3634K(4492K, 4492K)][class space: 356K(388K, 388K)->356K(388K, 388K)][cause:ObjAllocFail][IM: 729K, 928K, 0K][TC: 509][DOE: 16K, 170]