当前位置:网站首页>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 ÿ
边栏推荐
- openresty 负载均衡
- Cisco exam -- redundant network
- 从第三次技术革命看企业应用三大开发趋势
- 攻防演习防御体系构建之第三篇之建立实战化的安全体系
- 常见的二十种软件测试方法详解(史上最全)
- Which securities company is better and which is safer to open a securities account
- 为什么PHP叫超文本预处理器
- 硅谷产品实战学习感触
- 每日三题 6.28
- 问题随记 —— file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.x86_64 c
猜你喜欢

Programming English vocabulary notebook

Use 3DMAX to make a chess piece

Zhao Fuquan: to ensure supply in the short term, we should build a safe, efficient and resilient supply chain in the long term

从第三次技术革命看企业应用三大开发趋势

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received

会声会影2022智能、快速、简单的视频剪辑软件

CKS CKA ckad change terminal to remote desktop

2022 R1 fast opening pressure vessel operation test questions and answers

神经网络物联网的发展趋势和未来方向

赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链
随机推荐
The online beggar function of Japanese shopping websites
神经网络物联网的未来趋势与发展
YOGA27多维一体电脑,兼具出色外观与高端配置
Understanding threads
数字峰会人气火爆,城链科技引发新一轮商业变革
【微服务|Sentinel】sentinel整合openfeign
Jielizhi, production line assembly link [chapter]
ShanDong Multi-University Training #3
Jielizhi, production line assembly link [chapter]
[MySQL] index creation, viewing and deletion
攻防演习防御体系构建之第三篇之建立实战化的安全体系
【Swoole系列1】在Swoole的世界中,你将学习到什么?
mysql binlog的清理
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
微信个人小商店一键开通助手小程序开发
typescript枚举
y53.第三章 Kubernetes从入门到精通 -- ingress(二六)
rviz打开后如何显示实时2D地图
Glass mosaic
每日三题 6.29