diff options
Diffstat (limited to 'runtime/indirect_reference_table.cc')
-rw-r--r-- | runtime/indirect_reference_table.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indirect_reference_table.cc b/runtime/indirect_reference_table.cc index 0d84a1ef98..aa2a6b58f1 100644 --- a/runtime/indirect_reference_table.cc +++ b/runtime/indirect_reference_table.cc @@ -242,15 +242,15 @@ void IndirectReferenceTable::Trim() { madvise(release_start, release_end - release_start, MADV_DONTNEED); } -void IndirectReferenceTable::VisitRoots(RootCallback* callback, void* arg, uint32_t tid, - RootType root_type) { +void IndirectReferenceTable::VisitRoots(RootCallback* callback, void* arg, + const RootInfo& root_info) { for (auto ref : *this) { if (*ref == nullptr) { // Need to skip null entries to make it possible to do the // non-null check after the call back. continue; } - callback(ref, arg, tid, root_type); + callback(ref, arg, root_info); DCHECK(*ref != nullptr); } } |