Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit


This option enables or disables the UTF to String cache used to enhance reflection performance.


Setting Effect Default
-XX:+UTFCache Enable yes
-XX:-UTFCache Disable

The option, -XX:+UTFCache, causes the VM to cache the conversion of UTF8 data to java String objects during reflection. This is the default option.

When specifying the -XX:-UTFCache option, the VM does not performing this caching.