JITServer technology decouples the JIT compiler from the VM and lets the JIT compiler run remotely in its own process. This mechanism prevents your Java application from suffering possible negative effects due to CPU and memory consumption caused by JIT compilation.
This technology can improve quality of service, robustness, and even performance of Java applications. We recommend trying this technology if the following criteria are met:
- Your Java application is required to compile many methods using JIT in a relatively short time.
- The application is running in an environment with limited CPU or memory, which can worsen interference from the JIT compiler.
- The network latency between JITServer and client VM is relatively low.
To get started with JITServer read this guide first.
Building and testing JVM with JITServer is almost identical to building and testing a regular JVM. Below you can find links to documents that outline the important differences and provide step-by-step instructions.
The below sections are useful for readers who want to contribute to JITServer or those who want to learn in more detail how the technology actually works.