(no title)
ShabbyDoo | 11 years ago
The article doesn't mention one seemingly huge benefit of JIT compilation: profile-guided optimization:
http://www.slideshare.net/ZeroTurnaround/vladimir-ivanovjvmj...
Perhaps the baby has been thrown out with the bathwater?
Little is mentioned about how ART compares to the JVM. For example, does ART perform escape analysis? Not all object allocations are equally bad. The Sun JVM can figure out which objects may be allocated on TLABs (Thread Local Allocation Buffers) - an optimization which reduces the burden placed on the garbage collector because TLAB-resident objects may be deallocated as the stack is popped. [Please fact-check me as I'm merely a long-time Java developer vs. an expert on JVM internals]
izacus|11 years ago
Dalvik was rather primitive and extremely slow in comparison to whichever JVM you choose on the desktop today.
pjmlp|11 years ago
The SubstrateVM is the AOT compiler for Graal.
And many commercial JVMs do offer AOT compilation.
Also, .NET has had AOT/JIT since the very beginning. And now static compilation is coming as well.
logicchains|11 years ago
On ARM? Last time I checked, OpenJDK doesn't even have JIT compilation on ARM, it just interprets the bytecode.