-XX:[+|-]PrintCodeCacheInfo (Option for the output of the code cache area information)
Format
Description
Specify whether to output the amount of code cache area used and the message informing the user that the usage has reached the threshold value, to the JavaVM log file.
For details on the code cache area, see 7.1.2 Memory space configuration used with JavaVM and the JavaVM options in the uCosminexus Application Server System Design Guide.
If this option is enabled, the amount of code cache area used is output to the extended verbosegc information when a garbage collection occurs. Also, a message is output when the amount of code cache area used reaches the threshold value.
The threshold value is maximum-size-of-code-cache-area value-of--XX:CodeCacheInfoPrintRatio-option / 100.
Even if the -XX:-HitachiVerboseGC option is specified, the amount of code cache area used is output to the extended verbosegc information output by the -v option and -s option of the javagc command.
Output format
The output format of the amount of code cache area used is as follows:
[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][Perm: perm_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][CCI: cc_used_sizeK, cc_max_sizeK, cc_infoK] |
The output contents are as follows. Note that the items output by this option are described here. For items other than those described here, see the output format in -XX:[+|-]HitachiVerboseGC (Option for extended verbosegc information output).
The following is the output format of the message informing the user that the usage of the code cache area has reached the threshold value:
[cc_id]<cc_date>CodeCache usage has exceeded the threshold.[cc_used_sizeK, cc_max_sizeK, cc_infoK] |
The contents output in the message are as follows:
Examples of output
[VGC]<Wed Mar 17 00:42:30 2004>(Skip Full:0,Copy:0)[Full GC 149K->149K(1984K), 0.0786038 secs][DefNew::Eden: 264K->0K(512K)][DefNew::Survivor: 0K->63K(64K)][Tenured: 85K->149K(1408K)][Perm: 1300K->1300K(1536K)][cause:System.gc][User: 0.0156250 secs][Sys: 0.0312500 secs][IM: 729K, 928K, 0K][TC: 509][DOE: 16K, 170][CCI: 2301K, 49152K, 2304K] |
[CCI]<Wed Dec 26 14:27:53 2012>CodeCache usage has exceeded the threshold.[39358K, 49152K, 39360K] |
Notes