OSDN Git Service

Delete alloc tracking map outside of critical section
authorMathieu Chartier <mathieuc@google.com>
Wed, 2 Mar 2016 20:52:37 +0000 (12:52 -0800)
committerMathieu Chartier <mathieuc@google.com>
Tue, 8 Mar 2016 21:53:56 +0000 (13:53 -0800)
commit35fd969d663f8f89ecdbdb14e52e4f03e37d3f86
treecec7b928857bb21c3a29b0ff9cbb6880eac8124d
parent68d4c069f2920897cad2870a2257ed7af3c1db96
Delete alloc tracking map outside of critical section

There can be lock order violations otherwise due to runtime shutdown
lock that may get acquired in the condition variable destructor.

Bug: 27506909

(cherry picked from commit 0b8b4a609120b90081d898dbf3c26f68fe80de96)

Change-Id: I6972c450db8856e30c13e27aea94b01943618f64
runtime/gc/allocation_record.cc
runtime/gc/heap.cc
runtime/gc/heap.h