3 ms·
I'd wager Hotspot's JIT would beat the pants off Dalvik's JIT, and make your battery hot while doing it. Dalvik's JIT is designed unlike other JITs: It is desi
by Zigurd 13y ago
I'd wager Hotspot's JIT would beat the pants off Dalvik's JIT, and make your battery hot while doing it.
Dalvik's JIT is designed unlike other JITs: It is designed to JIT compile less code, but to find the code that has the highest impact. Dalvik's bytecode interpreter already gains what Google has claimed is a 2X improvement over interpreted Java bytecode. Before Android 2.3, that's how Android ran code.
- ge0rg 13y agoTo really run a CPU hot, you need to manually create a workload that utilizes all of the computation units (ALU, FPU, SIMD) interleaving assembler commands. This is nontrivial, and will not happen "by accident" when doing aggressive optimization. Have a look at the cpuburn program for one example.
- ibrahima 13y agoFor a mobile CPU, hot is a lot easier to achieve than on desktop/laptop.