commit | 2e899a92439dc6bdaaa67b8230933006284aa600 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Fri Nov 22 16:50:12 2013 -0800 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Fri Nov 22 16:50:12 2013 -0800 |
tree | c4ecf70d942c258a9c063326c4e318132948f4e8 | |
parent | ff3b24aa929a9db79daeef7c0b0522da099700a9 [diff] |
Fix a crash with -XX:DumpGCPerformanceOnShutdown. DumpGcPerformanceInfo() could call RosAllocSpace::InspectAllRosAlloc() which needs the thread list to be still alive. Fix by moving the DumpGcPerformanceInfo() call from the Heap destructor up to the beginning of the Runtime destructor so that the thread list is still alive when it's called. Bug: 11830901 Change-Id: Ib094d60916943c8cb1d4b769d805b4ca03269f90