3 ms·
>>JIT generated code has to be generated every time the app runs. > False. How so? Do you know of production class JITs that cache generated native code and r
by blinkingled 12y ago
>>JIT generated code has to be generated every time the app runs.
> False.
How so? Do you know of production class JITs that cache generated native code and reuse it every time the process is re-executed?
- wmf 12y agoHotSpot? http://stackoverflow.com/questions/1992486/why-doesnt-the-jvm-cache-jit-compiled-code http://stackoverflow.com/questions/1992486/why-doesnt-the-jv...
- blinkingled 12y agoNope. I know for sure hotspot doesn't do it - neither for desktop nor for server. The "Oracle JIT" refers to the JIT that Oracle uses for Java code that executes inside of the Oracle database. Completely different environment and usage model. Read the first comment in your link to get a sense of why it isn't practical to do persistent code caching for a dynamic language like Java.