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>
Wed, 2 Mar 2016 21:53:16 +0000 (13:53 -0800)
commit0b8b4a609120b90081d898dbf3c26f68fe80de96
tree3ce5726465ef095245e6d0acb2465e47b11f4629
parent6ba1d6834c7457cccf00e2a8faf4846b23a05094
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.

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