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:[+|-]JITServerShareROMClasses

This option enables the JITServer server to share cached ROM classes between JITServer clients.

Syntax

    -XX:[+|-]JITServerShareROMClasses
Setting Effect Default
-XX:+JITServerShareROMClasses Enable
-XX:-JITServerShareROMClasses Disable yes

Note: The -XX:+JITServerShareROMClasses option is enabled by default at the server on specifying the -XX:+JITServerUseAOTCache option.

Explanation

Enable this option when multiple clients that are running identical or similar applications connect to a single server.

This option enables a caching optimization that allows the server to use ROM classes that are cached for one client while compiling for a different client. This behavior reduces the memory usage at the server because only a single copy of a particular Java™ class is cached.

See also