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
Loading
Please sign in to comment