uCosminexus Application Server, Maintenance and Migration Guide

[Contents][Glossary][Index][Back][Next]

5.7.3 Contents of the code cache area-related log

JavaVM speeds up the processing by executing the JIT compilation for the Java methods with a high invocation count and loop count. The JIT compile code generated by the JIT compilation is allocated to the code cache area.

Normally there is no problem if the code cache area size is the default value. However, depending on the scale of the execution environment and Java applications, the code cache area size might be depleted with the default value.

If the code cache area is depleted, JavaVM cannot execute the JIT compilation and, proper performance might not be obtained from the execution of Java applications. In such cases, enable -XX:[+|-]PrintCodeCacheInfo (option to output the code cache area information) or -XX:[+|-]PrintCodeCacheFullMessage (option to output the code cache area depletion message), and then monitor the usage of the code cache area and the messages that are output.

For details on these options, see -XX:[+|-]PrintCodeCacheInfo (Option to output the code cache area information) and -XX:[+|-]PrintCodeCacheFullMessage (Option to output the code cache area depletion message) in the uCosminexus Application Server Definition Reference Guide.

Organization of this subsection
(1) Output contents of the message informing the user that the usage of the code cache area has reached the threshold value
(2) Output contents of the message informing the user that the code cache area has depleted

(1) Output contents of the message informing the user that the usage of the code cache area has reached the threshold value

The output format of the message informing the user that the usage of the code cache area has reached the threshold value is as follows:

[cc_id]<cc_date>CodeCache usage has exceeded the threshold.[cc_used_sizeK, cc_max_sizeK, cc_infoK]

The following table describes the output items:

Output item Explanation
cc_id Outputs the CCI (JavaVM log file identifier).
cc_date Outputs the data and time of JIT compilation.
cc_used_size Outputs the size of the code cache area used after the JIT compilation (unit: kilobyte).
cc_max_size Outputs the maximum size of the code cache area (unit: kilobyte).
cc_info Outputs the maintenance information.

(2) Output contents of the message informing the user that the code cache area has depleted

The output format of the message informing the user that the code cache area has depleted is as follows:

[cc_id]<cc_date>CodeCache is full. Compiler has been disabled.[cc_used_sizeK, cc_max_sizeK, cc_infoK]

The following table describes the output items:

Output item Explanation
cc_id Outputs the CCI (JavaVM log file identifier).
cc_date Outputs the date on which the Java method became subject to the JIT compilation.
cc_used_size Outputs the used size of the code cache area when the Java method became subject to the JIT compilation (unit: kilobyte).
cc_max_size Outputs the maximum size of the code cache area (unit: kilobyte).
cc_info Outputs the maintenance information.