summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-10-02 15:53:37 -0700
committerMathieu Chartier <mathieuc@google.com>2015-10-05 11:50:18 -0700
commitaa5168291c46f9b418d989bccf2d8e09338a83e6 (patch)
treebad4c44f503962fc5d74c3079f14f9af1ce7864d /test/ProfileTestMultiDex
parent1aba494df441c31836e5b7d4d8e408420a93cb8d (diff)
Add exclusion between instrumentation and GC
Instrumentation calls VisitClasses while exclusive holding the mutator lock. This can cause deadlocks since VisitClasses needs to decode JNI weak globals. If the system weak slow path flag is set, then we wait holding locks while exclusive holding the mutator lock. This causes a deadlock since the GC cannot acquire the mutator lock to sweep system weaks. This fixes a deadlock seen in one of the tracing tests. Change-Id: I580152118e068a70f309dcc19df4144afec835dd
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions