diff options
author | Tim Zhang <tim.zhang@spreadtrum.com> | 2017-02-16 09:55:27 +0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2017-03-01 22:17:19 +0000 |
commit | 14e0a1e8193474b7f540e42f547c88e34d1fc0d9 (patch) | |
tree | 7eb5fa88fbaf46d6d55bbdf02f726b8f88ca693e /tools/aapt2/diff/Diff.cpp | |
parent | 3e64003641c376573f4809aae79febd0187be81e (diff) |
Remove FastJNI optimization on AssetManager to avoid dead lock.
I found there was a dead lock among main, android.display and GC threads
when running monkey test.
- Main thread got a mutex and was suspended by GC thread.
- Android.display thread waited for mutex held by main thread.
- GC thread waited for suspention of android.display thread.
This will lead to ANR or screen freeze.
Merged-In: I13cf1eca3cb3b7c01aa754874f2b48aab0b472e8
Change-Id: I13cf1eca3cb3b7c01aa754874f2b48aab0b472e8
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions