主题:从曾经的Android组成员的角度来说说Android吧 -- zllwy
I confused the JVM here with VMware kind of VM. :)
Something I googled out:
Up until Android 2.2 (Froyo) the JVM (really a Dalvik JVM for licensing reasons) on the Android platform was playing with one hand tied behind its back. Different from desktop/server Java, the JVM was still an interpreter, like the original JVM back in the Java 1.0 days. It was very efficient interpreter but an interpreter none-the-less and was not creating native code from the Dalvik bytecodes that it uses. As of Android 2.2 they have added a JIT, a just-in-time compiler, to the stack that translates the Dalvik bytecode into much more efficient machine code much like a C/C++ compiler. You can see the results of this in the benchmarks of Froyo which show a 2-5x improvement. As they add more and more JIT and GC features that have appeared in HotSpot, JRockit, etc, you will likely see even more improvements over time — without having to change or recompile the 3rd party developed software.
- 相关回复 上下关系8
🙂其实公开都有 1 zllwy 字251 2011-01-10 23:50:20
🙂能不能解释一下为什么Android mpc8240 字15 2011-01-10 20:40:58
🙂因为Adroid的应用程序都是“Java”程序 3 Highway 字549 2011-01-11 20:44:03
🙂This is right. Thanks!
🙂我的理解 zllwy 字291 2011-01-10 23:57:00
🙂部分正确 7 WiFi 字781 2011-01-11 00:52:51
🙂Android smartphone上的app mpc8240 字189 2011-01-12 00:12:01
🙂Android smartphone上的app mpc8240 字0 2011-01-12 00:12:00