当前位置:网站首页>SWT / anr issues - ams/wms
SWT / anr issues - ams/wms
2022-07-01 02:05:00 【Professional developer】
background : some APP Frequent abnormal operations are easy to cause SWT problem , happen SWT The last two trace It may not be completely consistent , Such problems are easily manifested in ActivityManagerService and WindowManagerService in .
The analysis process
( With WMS relayoutWindow For example )
1. Confirm the problem time point (SYS_ANDROID_EVENT_LOG):
08-27 03:55:14.895 1481 1563 I watchdog: Blocked in handler on foreground thread (android.fg)
2. Find twice in the corresponding time period dump trace(SWT_JBT_TRACES)
1st dump:
"android.fg" Blocked -> "JobScheduler" Blocked -> "Binder:1481_1C" Blocked -> "Binder:1481_F" Blocked -> "Binder:1481_1B" Runnable
2nd dump:
"android.fg" Blocked -> "JobScheduler" Blocked -> "Binder:1481_1C" Blocked -> "Binder:1481_1D" Blocked -> "Binder:1481_D" Runnable
trace characteristic :
two trace Very similar , But in the end block The threads are not the same , And in Runnable state , No explanation block live , It's just that some operations take too long , Leading to core services hang.<
边栏推荐
- How do the top ten securities firms open accounts? Also, is it safe to open an account online?
- Ernie-gram, 显式、完备的 n-gram 掩码语言模型,实现了显式的 n-gram 语义单元知识建模。
- Working for eight years as a programmer, but with a salary of three years after graduation, it's too late to be enlightened again
- MYSQL 数据库查看磁盘占用情况
- [无线通信基础-14]:图解移动通信技术与应用发展-2-第一代移动模拟通信大哥大
- A preliminary understanding of operator overloading
- SWT/ANR问题--Native方法执行时间过长导致SWT
- 【JS给元素添加属性:setAttribute;classList.remove;classList.add;】
- Mathematical knowledge: finding combinatorial number III - finding combinatorial number
- [Agora] user management
猜你喜欢

PMP是什么?

聚焦绿色低碳,数据中心散热进入“智能冷却”新时代

我的PMP学习考试心得

数学知识:求组合数 III—求组合数

Analysis on user behavior loss of data exploration e-commerce platform

Electron pit Addon

How to maintain efficient collaboration in remote office and achieve stable growth of projects | community essay solicitation

删除重复的电子邮箱

CorelDRAW 2022中文精简64位直装版下载
![[fundamentals of wireless communication-14]: illustrated mobile communication technology and application development-2-the first generation mobile analog communication big brother](/img/fa/f9bad44147ba9af21183b7bd630e32.png)
[fundamentals of wireless communication-14]: illustrated mobile communication technology and application development-2-the first generation mobile analog communication big brother
随机推荐
laravel 事件 & 监听
Working for eight years as a programmer, but with a salary of three years after graduation, it's too late to be enlightened again
PHP array splicing MySQL in statement
QML控件类型:ToolTip
How does the property send a text message to the owner?
AS400 大厂面试
Ks009 implementation of pet management system based on SSH
SWT/ANR问题--AMS/WMS
The personal test is effective, and the JMeter desktop shortcut is quickly created
Mathematical knowledge: 01 sequence satisfying conditions - find combinatorial number
[proteus simulation] Arduino UNO +74c922 keyboard decoding drive 4x4 matrix keyboard
Some essential differences
laravel 事件 & 订阅
The latest CSDN salary increase technology stack in 2022 overview of APP automated testing
halcon数组的一些使用
Fast understanding of forward proxy and reverse proxy
When facing the industrial Internet, they even use the ways and methods of consuming the Internet to land and practice the industrial Internet
小程序云开发之--微信公众号文章采集篇
SWT/ANR问题--Native方法执行时间过长导致SWT
For the sustainable development of software testing, we must learn to knock code?