当前位置:网站首页>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 ÿ
边栏推荐
- 纪念成为首个DAYUs200三方demo贡献者
- 2022年危险化学品经营单位安全管理人员考试题及在线模拟考试
- YOGA27多维一体电脑,兼具出色外观与高端配置
- Win 10 mstsc connect RemoteApp
- Force buckle 710 Random numbers in the blacklist
- dat. GUI
- Cisco -- an external tool for WAN's concept examination
- window10安装wsl(一)(WslRegisterDistribution ERROR)
- Multiple smart pointers
- 会声会影2022智能、快速、简单的视频剪辑软件
猜你喜欢

91. (cesium chapter) cesium rocket launch simulation

CKS CKA CKAD 将终端更改为远程桌面

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

2022年起重机司机(限桥式起重机)考试试题及模拟考试

数字化转型道阻且长,如何迈好关键的第一步

Multiple smart pointers
![[机缘参悟-35]:鬼谷子-飞箝篇-远程连接、远程控制与远程测试之术](/img/08/9ecfd53a04e147022dde3449aec132.png)
[机缘参悟-35]:鬼谷子-飞箝篇-远程连接、远程控制与远程测试之术

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

云信小课堂 | IM及音视频中常见的认知误区

Three development trends of enterprise application from the perspective of the third technological revolution
随机推荐
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
CKS CKA CKAD 将终端更改为远程桌面
What is the mosaic tailgate?
MT manager test skiing Adventure
每日三题 6.30(2)
CKS CKA ckad change terminal to remote desktop
每日三题 6.29
What are the benefits of third party acceptance testing? Recommended by professional third-party software testing institutions
物联网技术应用属于什么专业分类
每日三题 6.28
2022年危险化学品经营单位安全管理人员考试题及在线模拟考试
Switch to software testing, knowing these four points is enough!
Redis数据类型和应用场景
日本购物网站的网络乞丐功能
赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链
为什么PHP叫超文本预处理器
js——arguments的使用
CKS CKA CKAD 将终端更改为远程桌面
What is mosaic?
Multiple smart pointers