难道Android的虚拟机有任何命令行选项?命令行、虚拟机、选项、有任何

2023-09-07 03:51:38 作者:解夏

Android的虚拟机是否有任何命令行选项?如果有,如何设置他们在eclipse?

Does Android VM have any command line options? If it has, how can I set them in eclipse?

我在寻找这样的事情:

http://www.oracle.com/ technetwork / JAVA / JavaSE的/科技/ vmoptions-JSP-140102.html

但Dalvik的。

我如何使用 -XX:+ UseCom pressedStrings 参数

推荐答案

我发现下面的

I found the following in this link searching at Google:

Dalvik虚拟机支持多种命令行参数(使用adb外壳dalvikvm -help得到一个总结),但它不可能通过Android应用程序运行时传递任意参数。据,然而,可能会影响通过某些系统性能在VM行为

The Dalvik VM supports a variety of command-line arguments (use adb shell dalvikvm -help to get a summary), but it's not possible to pass arbitrary arguments through the Android application runtime. It is, however, possible to affect the VM behavior through certain system properties.

不过,这只是通过亚洲开发银行。

But this is only through adb.