summaryrefslogtreecommitdiffstats
path: root/runtime/object_callbacks.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-04-04 11:09:41 -0700
committerMathieu Chartier <mathieuc@google.com>2014-04-04 11:22:27 -0700
commit7bf9f190cd33a7e2f8584299eb889e9df66e0323 (patch)
tree1817368ef167a6340129d2a59b0c423f5c87d604 /runtime/object_callbacks.h
parent34df691e64a6491e7312a850a1ad255e4cf02702 (diff)
downloadart-7bf9f190cd33a7e2f8584299eb889e9df66e0323.zip
art-7bf9f190cd33a7e2f8584299eb889e9df66e0323.tar.gz
art-7bf9f190cd33a7e2f8584299eb889e9df66e0323.tar.bz2
Improve invalid root dumping.
The invalid root dumping now attempts to print the root type. Change-Id: Ie821296d569f34909ba6e2705f5c347cd2143a3a
Diffstat (limited to 'runtime/object_callbacks.h')
-rw-r--r--runtime/object_callbacks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/object_callbacks.h b/runtime/object_callbacks.h
index 89ee34e..9198c90 100644
--- a/runtime/object_callbacks.h
+++ b/runtime/object_callbacks.h
@@ -56,7 +56,7 @@ typedef mirror::Object* (MarkObjectCallback)(mirror::Object* obj, void* arg)
__attribute__((warn_unused_result));
// A callback for verifying roots.
typedef void (VerifyRootCallback)(const mirror::Object* root, void* arg, size_t vreg,
- const StackVisitor* visitor);
+ const StackVisitor* visitor, RootType root_type);
typedef void (MarkHeapReferenceCallback)(mirror::HeapReference<mirror::Object>* ref, void* arg);