Hitachi

uCosminexus Application Server Definition Reference Guide


-XX:[+|-]PrintCodeCacheInfo (Option for the output of the code cache area information)

Organization of this page

Format

-XX:+PrintCodeCacheInfo

This option outputs the amount of code cache area used.

This option also outputs a message informing the user that the usage of the code cache area has reached the threshold value.

-XX:-PrintCodeCacheInfo

This option does not output the amount of code cache area used.

Also, this option does not output the message informing the user that the usage of the code cache area has reached the threshold value.

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 about the code cache area, see 7.2.6 Configuration of memory space used by JavaVM when using serial GC and JavaVM options in the 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 GC 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.

Default value
  • -XX:+PrintCodeCacheInfo

Prerequisite option
  • -XX:+HitachiVerboseGC

Related options
  • -XX:+HitachiCommaVerboseGC

  • -XX:CodeCacheInfoPrintRatio

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] [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][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).

cc_used_size

Specifies the size of the code cache area used when the GC occurs. The unit is kilobyte.

cc_max_size

Specifies the maximum size of the code cache area. The unit is kilobyte.

cc_info

Specifies the maintenance information.

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:

cc_id

Specifies the CCI (identifier of the JavaVM log file).

cc_date

Specifies the date and time when the JIT compilation was executed.

cc_used_size

Specifies the used size of the code cache area after the JIT compilation. The unit is kilobyte.

cc_max_size

Specifies the maximum size of the code cache area. The unit is kilobyte.

cc_info

Specifies the maintenance information.

Examples of output

Notes