当前位置:网站首页>SWT / anr problem - SWT causes low memory killer (LMK)
SWT / anr problem - SWT causes low memory killer (LMK)
2022-07-01 23:20:00 【Professional developer】
Problem description :
This is one that can be reproduced by stability tests in one day SWT problem , The probability of 30%.
according to SWT trace .txt and log, When the software watchdog occurs , Some threads are randomly blocked and blocked in different code , But about 9 Seconds later , The blocked thread enters the idle state . We suspect that the software watchdog is caused by the poor performance of the whole mobile phone .
When this SWT Trigger when it happens memory dumps. Checked memory information , Low free memory , Normal cache memory . There are many for low priority processes in the kernel log LMK journal .
Problem analysis :
from logcat In the log , This SWT Threaded “android.fg”,“android.ui” and “android.display”.
According to the trace log , Threads “android.fg” and “android.ui " was waiting to lock " 0x0ecf3bbc " hold by thread " ActivityManager ", This is waiting for locking " 0x0f3257a8 " hold by thread "android.bg” Call non duplicate functions Process.readProcFile(). about 9 Seconds later , stay “WATCHDOG KILLING” In the log , All blocked threads are waiting for the new task to be ready .
Lock waiting sequence of thread
Thread "main"-> "ActivityManager"(lock:0x0ecf3bbc)->"android.bg"(lock:0x0f3257a8)
"android.ui"-> "ActivityManager"(lock:0x0ecf3bbc)-> "android.bg"(lock:0x0f3257a8)
Log analysis ÿ
边栏推荐
- 物联网现状及未来发展趋势
- Zhao Fuquan: to ensure supply in the short term, we should build a safe, efficient and resilient supply chain in the long term
- Matplotlib常用设置
- The online beggar function of Japanese shopping websites
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
- [kotlin third party] coil koltin collaboration picture loading library coil glide like picture loading third party
- 数字化转型道阻且长,如何迈好关键的第一步
- AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
- Openresty load balancing
- The difference between timer and scheduledthreadpoolexecutor
猜你喜欢

众昂矿业:发展以氟化工为主的特色化工产业具有先天优势
![Jielizhi Bluetooth headset quality control and production skills [chapter]](/img/ad/28e7461f8c5dc5c54a3f4da0c111ac.png)
Jielizhi Bluetooth headset quality control and production skills [chapter]

什么是马赛克?

91. (cesium chapter) cesium rocket launch simulation

Istio, ebpf and rsocket Broker: in depth study of service grid

2022 safety officer-c certificate examination question simulation examination question bank and simulation examination

2022安全员-C证考试题模拟考试题库及模拟考试

What is the mosaic tailgate?

玻璃马赛克

赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链
随机推荐
2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units
SWT/ANR问题--SWT 导致 low memory killer(LMK)
软考信息系统项目管理师_整理的十大管理过程的简写帮助记忆背诵---软考高级之信息系统项目管理师054
Cisco -- an external tool for WAN's concept examination
Linux基础 —— CentOS7 离线安装 MySQL
Airserver latest win64 bit personal screen projection software
[applet] realize the left and right [sliding] list through the scroll view component
2022 safety officer-c certificate examination question simulation examination question bank and simulation examination
The difference between timer and scheduledthreadpoolexecutor
Rank ranking with MySQL 5.7
typescript枚举
mt管理器测试滑雪大冒险
Understanding threads
建模和影视后期有什么关联?
You probably haven't noticed the very important testing strategy in your work
What is the relationship between modeling and later film and television?
距离度量 —— 汉明距离(Hamming Distance)
Cisco test -- the concept and configuration test of routing
Simple interactive operation of electron learning (III)
数字化转型道阻且长,如何迈好关键的第一步