diff options
author | 2014-01-28 14:50:23 -0800 | |
---|---|---|
committer | 2014-02-11 10:40:10 -0800 | |
commit | 83c8ee000d525017ead8753fce6bc1020249b96a (patch) | |
tree | d5167ed15dee2629905ac3640b6ea0578d4ae312 /runtime/mirror/array.h | |
parent | 7cba217ab0661d74deccbb97160cdf60b74d4ea3 (diff) |
Add root types and thread id to root visiting.
Enables us to pass the root type and thread id to hprof.
Bug: 12680863
Change-Id: I6a0f1f9e3aa8f9b4033d695818ae7ca3460d67cb
Diffstat (limited to 'runtime/mirror/array.h')
-rw-r--r-- | runtime/mirror/array.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/mirror/array.h b/runtime/mirror/array.h index 04f03c3a55..2e123ef215 100644 --- a/runtime/mirror/array.h +++ b/runtime/mirror/array.h @@ -18,6 +18,7 @@ #define ART_RUNTIME_MIRROR_ARRAY_H_ #include "object.h" +#include "object_callbacks.h" #include "gc/heap.h" #include "thread.h" @@ -182,7 +183,7 @@ class MANAGED PrimitiveArray : public Array { array_class_ = NULL; } - static void VisitRoots(RootVisitor* visitor, void* arg) + static void VisitRoots(RootCallback* callback, void* arg) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); private: |