4 ms·
Potentially it can save the jit results from the last execution.
by rat87 13y ago
Potentially it can save the jit results from the last execution.
- pron 13y agoThere's a discussion in the Java community on how to do this best. Security is a problem. You need to make sure the compiled code matches the bytecode (that undergo security checks). But how do you compute a checksum for the compiled, cached code, if in order to test that checksum you need to re-generate it from the bytecode? So Java caches the compiled code for the JRE classes only, and it's possible to add your own code to the cache (requires root permission, etc.)