如何改善Dalvik的? Android的虚拟机 [英] How would you improve Dalvik? Android's Virtual Machine

查看:129
本文介绍了如何改善Dalvik的? Android的虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在写一篇论文在Android平台上。经过一番研究,很明显,Dalvik的有改善的余地。我想知道,你觉得会是最好利用开发人员的时间与这个目标?

JIT编译似乎是最大的一个,但后来我也听说这将是有限的使用上如此低的资源机器。有没有人有一个资源或数据的备份这个吗?

是否存在应考虑其他的选择吗?除了开发强大的本地开发工具包绕过虚拟机。

对于那些有兴趣谁,有一个已被记录,并放到网上有关的 Dalvik虚拟机

任何想法欢迎,因为这个问题的出现主观的,我会澄清的答案,我会接受,必须有一定的道理的修改建议。任何数据进行备份,如当它被推出,将是一个巨大的加在Sun JVM的改善。

解决方案
  1. 在更好的垃圾收集:压缩在最小(除今天经历了内存碎片问题),地理​​位置优越,更少的CPU密集在做集合本身(减少了我的游戏帧速率吸投诉)
  2. JIT,因为你举
  3. 够文档,再加上NDK时,有人充分的疯狂能够收集到的Dalvik字节code到本机code为AOT编译选项
  4. 请它的Andr​​oid本身,这样,其他项目可能会尝试与它和社会的贡献可能会到达更大的数量和可分离以更快的剪辑

我相信我能想出其他的想法,如果你需要他们。

I am currently writing a paper on the Android platform. After some research, it's clear that Dalvik has room for improvement. I was wondering, what do you think would be the best use of a developer's time with this goal?

JIT compilation seems like the big one, but then i've also heard this would be of limited use on such a low resource machine. Does anyone have a resource or data that backs this up?

Are there any other options that should be considered? Aside from developing a robust native development kit to bypass the VM.

For those who are interested, there is a lecture that has been recorded and put online regarding the Dalvik VM.

Any thoughts welcome, as this question appears subjective i'll clarify that the answer I'll accept must have some justification for proposed changes. Any data to back it up, such as the improvement in the Sun JVM when it was introduced, would be a massive plus.

解决方案

  1. Better garbage collection: compacting at minimum (to eliminate memory fragmentation problems experienced today), ideally less CPU intensive at doing the collection itself (to reduce the "my game frame rates suck" complaints)
  2. JIT, as you cite
  3. Enough documentation that, when coupled with an NDK, somebody sufficiently crazy could compile Dalvik bytecode to native code for an AOT compilation option
  4. Make it separable from Android itself, such that other projects might experiment with it and community contributions might arrive in greater quantity and at a faster clip

I'm sure I could come up other ideas if you need them.

这篇关于如何改善Dalvik的? Android的虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆