【android】进程优先级(Framework设置优先级,LowMemoryKiller查杀)
来源:互联网 发布:免费手机视频制作软件 编辑:程序博客网 时间:2024/06/11 20:20
static final int NATIVE_ADJ = -17;
static final int SYSTEM_ADJ = -16; // 系统进程 (init + system-server)
static final int PERSISTENT_PROC_ADJ = -12; //核心进程
static final int FOREGROUND_APP_ADJ = 0; //前台进程
static final int VISIBLE_APP_ADJ = 1; //可见进程
static final int PERCEPTIBLE_APP_ADJ = 2; //可感知进程
static final int BACKUP_APP_ADJ = 3;
static final int HEAVY_WEIGHT_APP_ADJ = 4; //重量进程
static final int SERVICE_ADJ = 5; //服务进程
static final int HOME_APP_ADJ = 6; //Home进程
static final int PREVIOUS_APP_ADJ = 7; //前个进程
static final int SERVICE_B_ADJ = 8;
static final int CACHED_APP_MIN_ADJ = 9;
static final int CACHED_APP_MAX_ADJ = 15;
static final int UNKNOWN_ADJ = 16;
优先级 所剩内存
0 --------- 3 *512, /* 6MB */
1 --------- 2 *1024, /* 8MB */
6 --------- 4 *1024, /* 16MB */
12 --------- 16 *1024, /* 64MB */
(可杀进程中)优先级最低+占有内存最多
- 【android】进程优先级(Framework设置优先级,LowMemoryKiller查杀)
- VB设置进程优先级
- C# 设置进程优先级
- linux 进程优先级设置
- 设置当前进程优先级
- 进程优先级的设置
- linux进程优先级设置
- nice设置进程优先级
- android 进程优先级
- android 进程优先级
- android 进程优先级
- android 进程优先级
- android 进程的优先级
- Android 进程优先级
- android 进程优先级
- Android笔记进程优先级
- android进程优先级
- android 进程优先级
- nginx 配置伪静态
- js中几种实用的跨域方法原理详解
- ftp、sftp常用命令
- 获得树形json串
- 购物节来啦!!!!!!!!!!!
- 【android】进程优先级(Framework设置优先级,LowMemoryKiller查杀)
- ApiDemos – BouncingBalls分析
- 语音编码分类及编解码标准
- shell编程--简单代码统计脚本
- web.xml里<filter-mapping>中的<dispatcher>作用
- OCP规范中一个有趣的AVP REPORTING REASON
- 对Java程序员有益的十个网站
- 常见图片宽高解析
- 中国awe发哈温哥华awe分