当前位置:网站首页>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 ÿ
边栏推荐
- [MySQL] basic use of explain and the function of each column
- flutter Unable to load asset: assets/images/888.png
- 【Kotlin 第三方 】coil koltin协程图片加载库Coil类似Glide的图片加载第三方
- Use 3DMAX to make a chess piece
- 想请教一下,证券开户选择哪个证券比较好?手机开户是安全么?
- Cisco exam -- redundant network
- Design of ESP automatic download circuit
- 数字峰会人气火爆,城链科技引发新一轮商业变革
- flutter Unable to load asset: assets/images/888. png
- Istio、eBPF 和 RSocket Broker:深入研究服务网格
猜你喜欢

赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链

STM32F030F4驱动TIM1637数码管芯片
![Jielizhi, production line assembly link [chapter]](/img/84/73637de7ba334c5ac48895a7e82575.png)
Jielizhi, production line assembly link [chapter]

距离度量 —— 汉明距离(Hamming Distance)

日本购物网站的网络乞丐功能

YOGA27多维一体电脑,兼具出色外观与高端配置

纪念成为首个DAYUs200三方demo贡献者

Linux基础 —— CentOS7 离线安装 MySQL

Huisheng Huiying 2022 intelligent, fast and simple video editing software

AirServer最新Win64位个人版投屏软件
随机推荐
Istio, ebpf and rsocket Broker: in depth study of service grid
通过Go语言创建CA与签发证书
Paramètres communs de matplotlib
纪念成为首个DAYUs200三方demo贡献者
Use 3DMAX to make a chess piece
神经网络物联网的未来趋势与发展
神经网络物联网的发展趋势和未来方向
为什么PHP叫超文本预处理器
Programming English vocabulary notebook
AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
会声会影2022智能、快速、简单的视频剪辑软件
每日三题 6.28
Contents of other parts of the map
Business visualization - make your flowchart'run'up
Yoga27 multidimensional all-in-one computer with excellent appearance and high-end configuration
用JpaTransactionManager操作数据库事务
Which securities company is better and which is safer to open a securities account
2022安全员-C证考试题模拟考试题库及模拟考试
建模和影视后期有什么关联?
Glass mosaic