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 10:05:19 -0800 |
commit | fe25b1adaffbc9e84e6c8c5d5f863264becb3484 (patch) | |
tree | d5f84b126032091c2e82f4e510d69add0a3c6a45 /tools/aapt2/diff/Diff.cpp | |
parent | d632305e376c899f6d5cbcaa441350c310b9fe44 (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.
Fixes: 32480078
Test: builds
Change-Id: I13cf1eca3cb3b7c01aa754874f2b48aab0b472e8
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions