当前位置:网站首页>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)
日志分析ÿ
边栏推荐
- 从第三次技术革命看企业应用三大开发趋势
- You probably haven't noticed the very important testing strategy in your work
- The difference between timer and scheduledthreadpoolexecutor
- Use of locust
- Zhao Fuquan: to ensure supply in the short term, we should build a safe, efficient and resilient supply chain in the long term
- 测试人进阶技能:单元测试报告应用指南
- Yoga27 multidimensional all-in-one computer with excellent appearance and high-end configuration
- Jerry's records are powered by Vbat with a power supply voltage of 4.2V [chapter]
- 【微服务|Sentinel】sentinel整合openfeign
- Digital currency: far-reaching innovation
猜你喜欢

Cisco -- highly available and reliable network examination

flutter Unable to load asset: assets/images/888.png

MySQL -- deduction of index storage model

众昂矿业:发展以氟化工为主的特色化工产业具有先天优势

什么是马赛克?

【嵌入式系统课设】单个按键控制LED灯

Win 10 mstsc connect RemoteApp

Explain ThreadLocal in detail
![[micro service sentinel] sentinel integrates openfeign](/img/8b/46156255fd980eb422c7e05d5af7ee.png)
[micro service sentinel] sentinel integrates openfeign

Design of ESP automatic download circuit
随机推荐
Genicam gentl standard ver1.5 (4) Chapter 5 acquisition engine
建模和影视后期有什么关联?
Introduction and use of plantuml
Aaai22 | structural tagging and interaction modeling: a "slim" network for graph classification
Simple interactive operation of electron learning (III)
Microservice stability management
tcpdump命令使用详解
Business visualization - make your flowchart'run'up
[MySQL] database optimization method
Treatment of insufficient space in the root partition of armbain system
正则系列之组和范围(Groups and Ranges)
Understanding threads
rviz打开后如何显示实时2D地图
Huisheng Huiying 2022 intelligent, fast and simple video editing software
The online beggar function of Japanese shopping websites
Some thoughts on game performance optimization
[target tracking] | single target tracking indicator
Mysql 5.7 实现 rank 排名
Cisco exam -- redundant network
Win 10 mstsc connect RemoteApp