ANR HeapTaskDaemon因等待锁定未知对象而被阻止

时间:2018-01-18 14:44:56

标签: android

带有跟踪堆栈的Android ANR

“等待锁定未知对象”是什么意思?

"HeapTaskDaemon" daemon prio=5 tid=5 Blocked
  | group="system" sCount=1 dsCount=0 obj=0x32c071c0 self=0x557f72c1b0
  | sysTid=6892 nice=0 cgrp=top_visible sched=0/0 handle=0x7fa0ffe450
  | state=S schedstat=( 53102724244 2289704943 17272 ) utm=4756 stm=554 core=7 HZ=100
  | stack=0x7fa0efc000-0x7fa0efe000 stackSize=1037KB
  | held mutexes=
  kernel: (couldn't read /proc/self/task/6892/stack)
  native: #00 pc 0000000000019aa4  /system/lib64/libc.so (syscall+32)
  native: #01 pc 000000000013adb8  /system/lib64/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadEli+164)
  native: #02 pc 000000000026ad28  /system/lib64/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+228)
  native: #03 pc 000000000026b32c  /system/lib64/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+120)
  native: #04 pc 000000000000054c  /data/dalvik-cache/arm64/system@framework@boot.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+128)
  at dalvik.system.VMRuntime.runHeapTasks(Native method)
  - waiting to lock an unknown object
  at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:355)
  at java.lang.Thread.run(Thread.java:833)

0 个答案:

没有答案