summaryrefslogtreecommitdiff
path: root/runtime/gc/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/heap.h')
-rw-r--r--runtime/gc/heap.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h
index 609d2ab30e..d01437299f 100644
--- a/runtime/gc/heap.h
+++ b/runtime/gc/heap.h
@@ -466,23 +466,6 @@ class Heap {
// Record the bytes freed by thread-local buffer revoke.
void RecordFreeRevoke();
- // Must be called if a field of an Object in the heap changes, and before any GC safe-point.
- // The call is not needed if null is stored in the field.
- ALWAYS_INLINE void WriteBarrierField(ObjPtr<mirror::Object> dst,
- MemberOffset offset,
- ObjPtr<mirror::Object> new_value)
- REQUIRES_SHARED(Locks::mutator_lock_);
-
- // Write barrier for array operations that update many field positions
- ALWAYS_INLINE void WriteBarrierArray(ObjPtr<mirror::Object> dst,
- int start_offset,
- // TODO: element_count or byte_count?
- size_t length)
- REQUIRES_SHARED(Locks::mutator_lock_);
-
- ALWAYS_INLINE void WriteBarrierEveryFieldOf(ObjPtr<mirror::Object> obj)
- REQUIRES_SHARED(Locks::mutator_lock_);
-
accounting::CardTable* GetCardTable() const {
return card_table_.get();
}