Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index d78d621cda40447408cab4ec260ecbdf0a8f37a3..5e0a7a86a2aa3751a179ae732f090c63c9a705d1 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -527,7 +527,6 @@ MemoryChunk* MemoryChunk::Initialize(Heap* heap, Address base, size_t size, |
chunk->set_next_chunk(nullptr); |
chunk->set_prev_chunk(nullptr); |
chunk->local_tracker_ = nullptr; |
- chunk->black_area_end_marker_map_ = nullptr; |
DCHECK(OFFSET_OF(MemoryChunk, flags_) == kFlagsOffset); |
@@ -1385,12 +1384,6 @@ void PagedSpace::EmptyAllocationInfo() { |
if (heap()->incremental_marking()->black_allocation()) { |
Page* page = Page::FromAllocationAreaAddress(current_top); |
- // We have to remember the end of the current black allocation area if |
- // something was allocated in the current bump pointer range. |
- if (allocation_info_.original_top() != current_top) { |
- Address end_black_area = current_top - kPointerSize; |
- page->AddBlackAreaEndMarker(end_black_area); |
- } |
// Clear the bits in the unused black area. |
if (current_top != current_limit) { |
@@ -1416,8 +1409,6 @@ void PagedSpace::ReleasePage(Page* page) { |
free_list_.EvictFreeListItems(page); |
DCHECK(!free_list_.ContainsPageFreeListItems(page)); |
- page->ReleaseBlackAreaEndMarkerMap(); |
- |
if (Page::FromAllocationAreaAddress(allocation_info_.top()) == page) { |
allocation_info_.Reset(nullptr, nullptr); |
} |