diff options
author | 2019-07-30 09:47:35 -0700 | |
---|---|---|
committer | 2019-08-01 16:17:17 +0000 | |
commit | 6f382013399fc8ba8b2717e4d24d91978d2bc0f7 (patch) | |
tree | 53b6bca63d5a1c34b2a60e5d8ef39f7cb22d4fe9 /runtime/gc/accounting/heap_bitmap.h | |
parent | 2b9c8c94fc92c6f2c7c1703efc1793d17ffde297 (diff) |
Refactor space bitmap to be a value object
Remove the need for pointer indirections at many places, reduce the
amount of code.
Bug: 116052292
Test: test-art-host
Change-Id: I4b1040d29f9ba99ea23c51f70a06af2ffbe496d4
Diffstat (limited to 'runtime/gc/accounting/heap_bitmap.h')
-rw-r--r-- | runtime/gc/accounting/heap_bitmap.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/gc/accounting/heap_bitmap.h b/runtime/gc/accounting/heap_bitmap.h index e4775563ec..a5f4499103 100644 --- a/runtime/gc/accounting/heap_bitmap.h +++ b/runtime/gc/accounting/heap_bitmap.h @@ -55,14 +55,6 @@ class HeapBitmap { REQUIRES(Locks::heap_bitmap_lock_) REQUIRES_SHARED(Locks::mutator_lock_); - // Find and replace a bitmap pointer, this is used by for the bitmap swapping in the GC. - void ReplaceBitmap(ContinuousSpaceBitmap* old_bitmap, ContinuousSpaceBitmap* new_bitmap) - REQUIRES(Locks::heap_bitmap_lock_); - - // Find and replace a object set pointer, this is used by for the bitmap swapping in the GC. - void ReplaceLargeObjectBitmap(LargeObjectBitmap* old_bitmap, LargeObjectBitmap* new_bitmap) - REQUIRES(Locks::heap_bitmap_lock_); - explicit HeapBitmap(Heap* heap) : heap_(heap) {} private: |