Android关闭JIT的方法
来源:互联网 发布:苹果mac玩天涯明月刀 编辑:程序博客网 时间:2024/06/05 19:35
http://archive.cnblogs.com/a/2262792/
Android 2.2的新特性中有条是“使用了全新的JIT内核编译器”,号称性能提高了5倍。有得同学提出JIT会带来稳定性问题,有时会报异常。下面是关闭系统JIT的方法:
在AndroidManifest.xml中把<application>的android:vmSafeMode属性设置true就可以对APK禁用JIT。
示例:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="test.ts.wader.mytest"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:vmSafeMode="true">
<activity
android:label="@string/app_name"
android:name=".MyTestActivity" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
- Android关闭JIT的方法
- 日积月累的jit-lib方法,
- 基于方法的JavaScript编译--JIT
- 基于方法的JIT编译之挑战
- 基于方法的JavaScript编译--JIT
- android关闭cursor的方法
- Android关闭AlertDialog的方法
- android关闭硬件加速的方法:
- Android 关闭应用程序的方法
- Android监听键盘开启关闭的方法
- android 中关闭activity的方法
- Android 应用正确关闭GPS的方法
- Android 关闭应用程序的6种方法
- 关闭Android 应用的三种方法
- Android开发,关闭所有activity的方法
- 【android实战经验】关闭Fragment的方法
- Android中关闭软件盘的方法
- Android 关闭多个视图的方法
- hdu ACM Steps 2.3
- C++连接mysql数据库的两种方法
- 手把手教你把Vim改装成一个IDE编程环境(图文)
- leeboy的linux学习二
- 关于SAP BW LO Extraction - Global Setting
- Android关闭JIT的方法
- FreeMarker + xml 导出word
- 经典SQL语句大全- 提升篇
- Source Insight阅读linux内核源代码——根据其他文章修改
- UVaOJ 10048 - Audiophobia
- android2.2 jit是什么,有啥用
- oracle--如何干预执行计划(使用hints提示)
- T-Sql 递归查询(给定节点查所有父节点、所有子节点的方法)
- linux下vim命令详解