Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-XX:[+|-]UTFCache

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

Syntax

    -XX:[+|-]UTFCache
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.