commit | a7deef9260bd53dfd6b51ace02b4e6200078d5ea | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Feb 22 14:49:04 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Feb 22 15:28:43 2016 -0800 |
tree | 4f08e6d5bb4bafb7ce39356e80abcb926908e4d5 | |
parent | a5502e31cb558c6e257d1dd1889c073a793e3d9d [diff] |
Visit stack trace roots We need to visit the declaring classes of all the methods in the allocation stack traces to prevent class unloading for these methods. If the class gets unloaded, it will free the linear alloc resulting in hprof crashing during dumping. Also a bit of clean up. Bug: 26849503 Change-Id: I5cc57436294e4399388cb497819148b8a3b973d9