当前位置:网站首页>SWT/ANR问题--SWT 导致 low memory killer(LMK)
SWT/ANR问题--SWT 导致 low memory killer(LMK)
2022-07-01 22:40:00 【专业开发者】
问题描述:
这是一个可以在一天内通过稳定性测试重现的SWT问题,概率为30%。
根据SWT trace .txt和log,在软件看门狗发生时间,一些线程在不同代码中被随机阻塞和阻塞,但大约9秒后,被阻塞的线程进入空闲状态。我们怀疑软件看门狗是由于整个手机的性能不好造成的。
当这个SWT发生时触发 memory dumps。已检查内存信息,空闲内存低,正常缓存内存。内核日志中有许多用于低优先级进程的LMK日志。
问题分析:
从logcat日志中,这个SWT被线程“android.fg”,“android.ui”和“android.display”。
根据跟踪日志,线程“android.fg”和“android.ui " was waiting to lock " 0x0ecf3bbc " hold by thread " ActivityManager ",这是等待锁定" 0x0f3257a8 " hold by thread "android.bg”调用非重函数Process.readProcFile()。大约9秒后,在“WATCHDOG KILLING”日志中,所有被阻塞的线程都在等待新任务准备就绪。
线程的锁等待序列
Thread "main"-> "ActivityManager"(lock:0x0ecf3bbc)->"android.bg"(lock:0x0f3257a8)
"android.ui"-> "ActivityManager"(lock:0x0ecf3bbc)-> "android.bg"(lock:0x0f3257a8)
日志分析ÿ
边栏推荐
- Where can the courses purchased by CSDN be accessed
- [MySQL] index creation, viewing and deletion
- 实在RPA:银行数字化,业务流程自动化“一小步”,贷款审核效率“一大步”
- AirServer最新Win64位个人版投屏软件
- Zhao Fuquan: to ensure supply in the short term, we should build a safe, efficient and resilient supply chain in the long term
- 什么是马赛克?
- AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
- Yoga27 multidimensional all-in-one computer with excellent appearance and high-end configuration
- openresty 负载均衡
- Some thoughts on game performance optimization
猜你喜欢

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

Win 10 mstsc connect RemoteApp

正则系列之组和范围(Groups and Ranges)

Genicam gentl standard ver1.5 (4) Chapter 5 acquisition engine

Redis~02 cache: how to ensure data consistency in MySQL and redis when updating data?
![Compare the version number [double pointer to intercept the string you want]](/img/19/4f858ffdc1281d6b8b18a996467f10.png)
Compare the version number [double pointer to intercept the string you want]

使用3DMax制作一个象棋棋子

“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有

玻璃马赛克

The online beggar function of Japanese shopping websites
随机推荐
Jerry's question about long press boot detection [chapter]
I graduated from college in 14 years and changed to software testing in 3 months. My monthly salary was 13.5k. At the age of 32, I finally found the right direction
通过Go语言创建CA与签发证书
What is the mosaic tailgate?
力扣 710. 黑名单中的随机数
What are the benefits of third party acceptance testing? Recommended by professional third-party software testing institutions
Wechat personal small store one click opening assistant applet development
微信个人小商店一键开通助手小程序开发
Istio、eBPF 和 RSocket Broker:深入研究服务网格
leetcode - 287. Find duplicates
2022安全员-C证考试题模拟考试题库及模拟考试
Win 10 mstsc connect RemoteApp
The digital summit is popular, and city chain technology has triggered a new round of business transformation
typescript枚举
Which securities company is better and which is safer to open a securities account
数字化转型道阻且长,如何迈好关键的第一步
[micro service sentinel] sentinel integrates openfeign
AirServer最新Win64位个人版投屏软件
Summary of "performance testing" of software testing, novice will know the knowledge points on the road
Unable to climb hill sort, directly insert sort