-XX:[+|-]JITServerUseAOTCache
This option enables the caching of AOT-compiled methods in the JITServer server.
Syntax
-XX:[+|-]JITServerUseAOTCache
Setting | Effect | Default |
---|---|---|
-XX:+JITServerUseAOTCache |
Enable | |
-XX:-JITServerUseAOTCache |
Disable | yes |
Explanation
When you enable this option, the JITServer server caches the AOT-compiled methods. When a JITServer client requests an AOT compilation and the requested method exists in the cache, the server does not have to recompile the method. This feature, therefore, improves the CPU utilization of the JITServer technology and of the cluster.
Note: This option has the following requirements:
- You must specify this option both at the client JVM and at the server.
- The client JVM must have the shared class cache feature enabled and be allowed to generate AOT compilation requests.
The -XX:+JITServerShareROMClasses
option is enabled by default at the server on specifying the-XX:+JITServerUseAOTCache
option.