Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


7.7.2 -XX:[+|-]PrintCodeCacheFullMessage

-XX:[+|-]PrintCodeCacheFullMessage outputs a message to the Java VM log file when the code cache area becomes insufficient during JIT compilation of a Java method.

Description

-XX:[+|-]PrintCodeCacheFullMessage specifies whether a message is to be output to the Java VM log file when the code cache area becomes insufficient during JIT compilation of a Java method. The code cache area stores the JIT compile codes generated by JIT compilation. By using JIT compilation to execute Java methods that have a large number of calls or loops, processing is accelerated.

Prerequisite option
  • -XX:+HitachiVerboseGC

Format of output

The following shows the format of output message.

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

The following provides details about the output content of the error message.

Output item

Output content

cc_id

CCI (Java VM log file identifier)

cc_date

Date and time when JIT compilation was performed on the Java method

cc_used_size

Size of the used code cache area when JIT compilation was performed on the Java method. This information is output in units of kilobytes.

cc_max_size

Maximum size of the code cache area. This information is output in units of kilobytes.

cc_info

Maintenance information

Syntax

-XX:[+|-]PrintCodeCacheFullMessage

Specifiable values

Type: String

-XX:+PrintCodeCacheFullMessage

Outputs a message when the code cache area becomes insufficient during JIT compilation of a Java method. This message is output only once.

-XX:-PrintCodeCacheFullMessage

Does not output a message even when the code cache area becomes insufficient during JIT compilation of a Java method.

Default value

If the definition item is omitted:

-XX:+PrintCodeCacheFullMessage

Example

The following is an example of the output message.

[CCI]<Wed Dec 26 14:38:29 2012>CodeCache is full. Compiler has been disabled.
[49151K, 49152K, 49152K]

Notes

The maximum size of the code cache area that can be used by the system is 500 kilobytes in the 32-bit version and 2 megabytes in the 64-bit version. Therefore, depending on the size of code cache area used by the system, the code cache area might become insufficient even if the size of used code cache area is less than the maximum.