4 ms·
At the same time, JIT can outperform native code in some specific circumstances, since there are certain optimizations which can be proven safe at runtime which
by shawnz 8y ago
At the same time, JIT can outperform native code in some specific circumstances, since there are certain optimizations which can be proven safe at runtime which can not be guaranteed to be safe at compile time
- xxs 8y agoActually one of the less known features of the JIT is the ability to deoptimize/recompile based on CHA (class hierarchy analysis) or pushed compilation request via invokeDynamic&friends.
- gameswithgo 8y agothis is a thing people say a lot but it is not something that seems to often result in an actual java program or benchmark being faster than program compiled AOT by an equivalently smart compiler (llvm etc)