4 ms·
From: http://www.oracle.com/technetwork/java/whitepaper-135217.html http://www.oracle.com/technetwork/java/whitepaper-135217.htm... "The Server VM contains an a
by mk7 10y ago
From: http://www.oracle.com/technetwork/java/whitepaper-135217.html http://www.oracle.com/technetwork/java/whitepaper-135217.htm...
"The Server VM contains an advanced adaptive compiler that supports many of the same types of optimizations performed by optimizing C++ compilers, as well as some optimizations that cannot be done by traditional compilers, such as aggressive inlining across virtual method invocations. This is a competitive and performance advantage over static compilers. Adaptive optimization technology is very flexible in its approach, and typically outperforms even advanced static analysis and compilation techniques."
So HotSpot may detect "hot spot code" in runtime and aggressively inline it - this is what LLVM can not do, becuase it doesn't run in runtime...