Skip to content


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


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


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 amount of network communication required between the server and the clients, improving startup time and reducing clients' CPU usage. Moreover, footprint at the server can be reduced because only a single copy of a particular Java™ class is cached.

See also