diff options
Diffstat (limited to 'runtime/gc/reference_queue.h')
| -rw-r--r-- | runtime/gc/reference_queue.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/gc/reference_queue.h b/runtime/gc/reference_queue.h index 8d392babf6..4f223e22e3 100644 --- a/runtime/gc/reference_queue.h +++ b/runtime/gc/reference_queue.h @@ -59,8 +59,8 @@ class ReferenceQueue { // Enqueues finalizer references with white referents. White referents are blackened, moved to the // zombie field, and the referent field is cleared. void EnqueueFinalizerReferences(ReferenceQueue& cleared_references, - IsMarkedCallback is_marked_callback, - MarkObjectCallback recursive_mark_callback, void* arg) + IsMarkedCallback* is_marked_callback, + MarkObjectCallback* mark_object_callback, void* arg) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); // Walks the reference list marking any references subject to the reference clearing policy. // References with a black referent are removed from the list. References with white referents @@ -69,7 +69,8 @@ class ReferenceQueue { SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); // Unlink the reference list clearing references objects with white referents. Cleared references // registered to a reference queue are scheduled for appending by the heap worker thread. - void ClearWhiteReferences(ReferenceQueue& cleared_references, IsMarkedCallback is_marked_callback, + void ClearWhiteReferences(ReferenceQueue& cleared_references, + IsMarkedCallback* is_marked_callback, void* arg) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); void Dump(std::ostream& os) const |