3 ms·
Note that Android does not use the Java VM. It never has. Initially code was compiled for the Dalvik VM, but more recently code is compiled for Art: https://en
by jbuzbee 9y ago
Note that Android does not use the Java VM. It never has. Initially code was compiled for the Dalvik VM, but more recently code is compiled for Art:
https://en.wikipedia.org/wiki/Android_Runtime https://en.wikipedia.org/wiki/Android_Runtime
- johncolanduoni 9y agoThere is no single Java VM. There's a specification with a significant number of different implementations, and the OpenJDK-based one is far from the only one in use today. Also code is still compiled to the same format that the Dalvik VM consumed. ART is just a different system for getting from Java bytecode to something executable.
- bitmapbrother 9y agoThey aren't even architecturally similar. The ART VM is register based while the JVM is stack based.
- giancarlostoro 9y agoTo be fair I did say Java based VM.