Commit ac5fb707 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

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 a7deef92)

Change-Id: If7df7259d0e5044dbcf35f5b4e86f6cf2e583adb
parent f7e0d1af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment