如何在android

时间:2018-07-22 21:45:23

标签: android performance android-asynctask android-thread

我不知道我对使我的应用程序超级慢的代码进行了什么更改,现在启动大约需要两分钟,但是不到30秒就可以完成。

启动应用程序时,我收到数百条这样的消息,而实际工作尚未完成。

W/zygote: Long monitor contention with owner pool-2-thread-12: (31043) at byte[] gj.a(byte[], java.lang.String)(:com.google.android.gms.dynamite_dynamitemodulesa@12521024@12.5.21 (040700-189987672):56) waiters=9 in byte[] gj.a(byte[], java.lang.String) for 840ms
W/zygote: Long monitor contention with owner pool-2-thread-13: (31044) at byte[] gj.a(byte[], java.lang.String)(:com.google.android.gms.dynamite_dynamitemodulesa@12521024@12.5.21 (040700-189987672):56) waiters=9 in byte[] gj.a(byte[], java.lang.String) for 912ms
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=0 in void com.google.android.ads.tasks.e.a() for 1.362s
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=1 in void com.google.android.ads.tasks.c.a() for 1.207s
W/zygote: Long monitor contention with owner pool-2-thread-5: (31018) at byte[] gj.a(byte[], java.lang.String)(:com.google.android.gms.dynamite_dynamitemodulesa@12521024@12.5.21 (040700-189987672):56) waiters=9 in byte[] gj.a(byte[], java.lang.String) for 905ms
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=2 in void com.google.android.ads.tasks.t.a() for 1.258s
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=3 in void com.google.android.ads.tasks.g.a() for 1.256s
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=4 in void com.google.android.ads.tasks.l.a() for 811ms
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=5 in void com.google.android.ads.tasks.s.a() for 677ms
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=6 in void com.google.android.ads.tasks.f.a() for 655ms
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=7 in void com.google.android.ads.tasks.j.a() for 527ms
W/zygote: Long monitor contention with owner pool-2-thread-20: (31059) at java.lang.String com.google.android.ads.zxxz.k.a(android.content.Context)(:-1) waiters=8 in void com.google.android.ads.tasks.q.a() for 498ms
W/zygote: Long monitor contention with owner pool-2-thread-8: (31033) at byte[] gj.a(byte[], java.lang.String)(:com.google.android.gms.dynamite_dynamitemodulesa@12521024@12.5.21 (040700-189987672):56) waiters=8 in byte[] gj.a(byte[], java.lang.String) for 855ms

我如何调试和跟踪其来源?

0 个答案:

没有答案