JeremyLiao / FastSharedPreferences

:rocket:一个Android平台的高性能key-value组件,读写性能远超SharedPreferences
Apache License 2.0
340 stars 31 forks source link

读写锁容易出现死锁导致ANR #7

Open lxzh opened 2 years ago

lxzh commented 2 years ago

"main" prio=5 tid=1 Waiting | group="main" sCount=1 dsCount=0 flags=1 obj=0x74ffe1f0 self=0xa3ad1000 | sysTid=28165 nice=-10 cgrp=default sched=0/0 handle=0xa7e49494 | state=S schedstat=( 14845404648 2199071798 23355 ) utm=1379 stm=104 core=3 HZ=100 | stack=0xbb59d000-0xbb59f000 stackSize=8MB | held mutexes= at java.lang.Object.wait(Native method)

"ThreadExecutor-10" prio=5 tid=69 Waiting | group="main" sCount=1 dsCount=0 flags=1 obj=0x138c0220 self=0x7f08cc00 | sysTid=8919 nice=0 cgrp=default sched=0/0 handle=0x80079970 | state=S schedstat=( 2947459 23034500 23 ) utm=0 stm=0 core=1 HZ=100 | stack=0x7ff76000-0x7ff78000 stackSize=1042KB | held mutexes= at java.lang.Object.wait(Native method)

"pool-2-thread-4" prio=5 tid=19 Waiting | group="main" sCount=1 dsCount=0 flags=1 obj=0x12d00ec8 self=0x9c29d800 | sysTid=8750 nice=0 cgrp=default sched=0/0 handle=0x86d8f970 | state=S schedstat=( 688124 2862501 5 ) utm=0 stm=0 core=0 HZ=100 | stack=0x86c8c000-0x86c8e000 stackSize=1042KB | held mutexes= at java.lang.Object.wait(Native method)