summaryrefslogtreecommitdiffstats
path: root/runtime/reference_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/reference_table.h')
-rw-r--r--runtime/reference_table.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/reference_table.h b/runtime/reference_table.h
index 22cf1cd804..94f16b66de 100644
--- a/runtime/reference_table.h
+++ b/runtime/reference_table.h
@@ -49,7 +49,8 @@ class ReferenceTable {
void Dump(std::ostream& os) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
- void VisitRoots(RootCallback* visitor, void* arg, const RootInfo& root_info);
+ void VisitRoots(RootVisitor* visitor, const RootInfo& root_info)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
private:
typedef std::vector<GcRoot<mirror::Object>,