commit | fe25b1adaffbc9e84e6c8c5d5f863264becb3484 | [log] [tgz] |
---|---|---|
author | Tim Zhang <tim.zhang@spreadtrum.com> | Thu Feb 16 09:55:27 2017 +0800 |
committer | John Reck <jreck@google.com> | Wed Mar 01 10:05:19 2017 -0800 |
tree | d5f84b126032091c2e82f4e510d69add0a3c6a45 | |
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