From 6f382013399fc8ba8b2717e4d24d91978d2bc0f7 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Tue, 30 Jul 2019 09:47:35 -0700 Subject: 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 --- runtime/gc/accounting/heap_bitmap.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'runtime/gc/accounting/heap_bitmap.h') 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: -- cgit v1.2.3-59-g8ed1b