当前位置:网站首页>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)
日志分析ÿ
边栏推荐
- STM32F030F4驱动TIM1637数码管芯片
- locust的使用
- You probably haven't noticed the very important testing strategy in your work
- Where can the courses purchased by CSDN be accessed
- [kotlin third party] coil koltin collaboration picture loading library coil glide like picture loading third party
- Vsphere+ and vsan+ are coming! VMware hybrid cloud focus: native, fast migration, mixed load
- URL 介绍
- Aaai22 | structural tagging and interaction modeling: a "slim" network for graph classification
- Unable to climb hill sort, directly insert sort
- win 10 mstsc连接 RemoteApp
猜你喜欢
Jielizhi, production line assembly link [chapter]
Demo program implementation of QT version Huarui camera
shell 流程控制
The online beggar function of Japanese shopping websites
建模和影视后期有什么关联?
Istio、eBPF 和 RSocket Broker:深入研究服务网格
众昂矿业:发展以氟化工为主的特色化工产业具有先天优势
Tcpdump command usage details
思科--WAN 的概念考试外部工具
数字化转型道阻且长,如何迈好关键的第一步
随机推荐
工作中非常重要的测试策略,你大概没注意过吧
会声会影2022智能、快速、简单的视频剪辑软件
[机缘参悟-35]:鬼谷子-飞箝篇-远程连接、远程控制与远程测试之术
微信个人小商店一键开通助手小程序开发
Some thoughts on game performance optimization
dat.GUI
Simple interactive operation of electron learning (III)
CADD course learning (3) -- target drug interaction
什么是马赛克?
[micro service sentinel] sentinelresourceaspect details
CKS CKA ckad change terminal to remote desktop
typescript枚举
"35 years old, the boss of the company, with a monthly salary of 20000, give away takeout": the times abandoned you, not even saying goodbye
Explain JMM in detail
Explain ThreadLocal in detail
Understanding threads
Cisco test -- the concept and configuration test of routing
Aaai22 | structural tagging and interaction modeling: a "slim" network for graph classification
[JUC learning road day 9] barrier derivatives
玻璃马赛克