当前位置:网站首页>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)
日志分析ÿ
边栏推荐
- AirServer最新Win64位个人版投屏软件
- js——arguments的使用
- Daily question brushing record (10)
- Some thoughts on game performance optimization
- 日本购物网站的网络乞丐功能
- Microservice stability management
- CADD课程学习(3)-- 靶点药物相互作用
- Treatment of insufficient space in the root partition of armbain system
- shell 自定义函数
- Programming English vocabulary notebook
猜你喜欢

Advanced skills of testers: a guide to the application of unit test reports

Explain the use of locksupport in detail

Istio、eBPF 和 RSocket Broker:深入研究服务网格

CKS CKA CKAD 将终端更改为远程桌面
![[MySQL] index classification](/img/73/fb9f28457b373ad35d2f6068387b47.png)
[MySQL] index classification

MySQL -- deduction of index storage model

window10安装wsl(一)(WslRegisterDistribution ERROR)

Redis~02 cache: how to ensure data consistency in MySQL and redis when updating data?

Unable to climb hill sort, directly insert sort

Redis~02 缓存:更新数据时如何保证MySQL和Redis中的数据一致性?
随机推荐
Detailed explanation of twenty common software testing methods (the most complete in History)
[MySQL] index creation, viewing and deletion
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
正则系列之组和范围(Groups and Ranges)
【嵌入式系统课设】单个按键控制LED灯
从第三次技术革命看企业应用三大开发趋势
建模和影视后期有什么关联?
日本购物网站的网络乞丐功能
A few minutes before work, I found out V-model and The difference between sync
用JpaTransactionManager操作数据库事务
URL 介绍
Zhongang Mining: it has inherent advantages to develop the characteristic chemical industry dominated by fluorine chemical industry
认识线程
[applet] realize the left and right [sliding] list through the scroll view component
Genicam gentl standard ver1.5 (4) Chapter 5 acquisition engine
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
Compare the version number [double pointer to intercept the string you want]
赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链
CADD course learning (3) -- target drug interaction
Which securities company is better and which is safer to open a securities account