From 4db7449c0065971ec3a64ca04aeb64cfd2e802f0 Mon Sep 17 00:00:00 2001 From: Hiroshi Yamauchi Date: Tue, 22 Apr 2014 17:10:48 -0700 Subject: Improve GSS reference processing. Support the case where the reference object is in the free list space and the referent object is in the bump pointer space at a bump pointer space collection. Bug: 11650816 Change-Id: If98b08edc9e37351c74ee07cb3f2d30c2b4d0056 --- runtime/object_callbacks.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/object_callbacks.h') 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 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* 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). -- cgit v1.2.3