diff options
Diffstat (limited to 'runtime/object_callbacks.h')
-rw-r--r-- | runtime/object_callbacks.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/object_callbacks.h b/runtime/object_callbacks.h index 9198c90d5a..767c197206 100644 --- a/runtime/object_callbacks.h +++ b/runtime/object_callbacks.h @@ -24,8 +24,10 @@ namespace art { namespace mirror { +class Class; class Object; template<class MirrorType> class HeapReference; +class Reference; } // namespace mirror class StackVisitor; @@ -59,6 +61,7 @@ typedef void (VerifyRootCallback)(const mirror::Object* root, void* arg, size_t const StackVisitor* visitor, RootType root_type); typedef void (MarkHeapReferenceCallback)(mirror::HeapReference<mirror::Object>* ref, void* arg); +typedef void (DelayReferenceReferentCallback)(mirror::Class* klass, mirror::Reference* ref, void* arg); // A callback for testing if an object is marked, returns nullptr if not marked, otherwise the new // address the object (if the object didn't move, returns the object input parameter). |