commit | ac5fb70796f7fbf210e664992b052c05438939eb | [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 16:18:39 2016 -0800 |
tree | 310ee06bde98732e5149867133519a2d60c95759 | |
parent | f7e0d1afc0f80bf867834c7e46cc7c7af4eb719d [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 (cherry picked from commit a7deef9260bd53dfd6b51ace02b4e6200078d5ea) Change-Id: If7df7259d0e5044dbcf35f5b4e86f6cf2e583adb