commit | 9a3be989d0aee1a6998e33813c7f70906d27f89a | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Thu Mar 03 23:14:49 2016 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Thu Mar 03 23:19:10 2016 +0000 |
tree | 7609cc5f7604816dede6dedad17b192ddc3355b5 | |
parent | 3d4770c4577107caab23ba40547124c993e21c38 [diff] |
ProfilingInfo roots should be visited by the declaring class. There seems to be an implicit assumption that only classes can visit native roots (ie kVisitNativeRoots in Class::VisitReferences). However, some places like Dbg::VisitRoots and AllocRecordObjectMap::VisitRoots visit ArtMethod::VisitRoot directly, and that breaks the assumptions. bug:27435111 Change-Id: I5b476e614ba820394635d946cb562bf872a50e7e