-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2019-06-26:JVM、Dalvik、ART三者的原理和区别? #84
Comments
这个问题好难,只知道JVM是Java虚拟机规范,Dalvik是基于JVM规范实现的虚拟机其中的一种。ART没怎么了解过,不过是安卓现行版本使用的虚拟机。静等大佬的解答 |
没人回答吗
贴两篇官方文档,有兴趣的可以看看 |
有点高深 面试的时候被问过 还是不太明白 |
jvm:Java虚拟机,能够运行Java字节码的虚拟机器 |
JVM、Dalvik、ART三者的原理和区别? |
区别容易,说原理估计要用三篇博客来讲 |
1、JVM指Java虚拟机,能够运行Java字节码的虚拟机器,有多种实现 2、Dalvik虚拟机是Google设计用于Android平台的虚拟机,支持已转换为.dex格式的Java程序的运行。与JVM的区别:
3、ART虚拟机是现行的Android虚拟机,与Dalvik的区别:
所以,ART虚拟机提高了程序的运行效率;首次安装需要预编译,所以安装时间比Dalvik中略长,机器码占用空间大,应用占用空间也会略大。 |
No description provided.
The text was updated successfully, but these errors were encountered: