summaryrefslogtreecommitdiffstats
path: root/runtime/object_callbacks.h
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-04-22 17:10:48 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2014-04-28 12:42:43 -0700
commit4db7449c0065971ec3a64ca04aeb64cfd2e802f0 (patch)
treea75e8c888151388653cf81a1a35f008cb7e24528 /runtime/object_callbacks.h
parentec3a2157d2a3e8bcfb34e9a2f2aa54254a8eec19 (diff)
downloadandroid_art-4db7449c0065971ec3a64ca04aeb64cfd2e802f0.tar.gz
android_art-4db7449c0065971ec3a64ca04aeb64cfd2e802f0.tar.bz2
android_art-4db7449c0065971ec3a64ca04aeb64cfd2e802f0.zip
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
Diffstat (limited to 'runtime/object_callbacks.h')
-rw-r--r--runtime/object_callbacks.h3
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).