Index: src/heap/heap-inl.h |
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h |
index 9499546850e55f5133daecb1286a52faadcdcb96..db892b7763d633b8d1af9beeda8833f81de30a6d 100644 |
--- a/src/heap/heap-inl.h |
+++ b/src/heap/heap-inl.h |
@@ -187,18 +187,6 @@ Address* Heap::OldSpaceAllocationLimitAddress() { |
return old_space_->allocation_limit_address(); |
} |
-bool Heap::HeapIsFullEnoughToStartIncrementalMarking(intptr_t limit) { |
- if (FLAG_stress_compaction && (gc_count_ & 1) != 0) return true; |
- |
- intptr_t adjusted_allocation_limit = limit - new_space_->Capacity(); |
- |
- if (PromotedTotalSize() >= adjusted_allocation_limit) return true; |
- |
- if (HighMemoryPressure()) return true; |
- |
- return false; |
-} |
- |
void Heap::UpdateNewSpaceAllocationCounter() { |
new_space_allocation_counter_ = NewSpaceAllocationCounter(); |
} |
@@ -510,13 +498,6 @@ bool Heap::InOldSpaceSlow(Address address) { |
return old_space_->ContainsSlow(address); |
} |
-bool Heap::OldGenerationAllocationLimitReached() { |
- if (!incremental_marking()->IsStopped() && !ShouldOptimizeForMemoryUsage()) { |
- return false; |
- } |
- return OldGenerationSpaceAvailable() < 0; |
-} |
- |
template <PromotionMode promotion_mode> |
bool Heap::ShouldBePromoted(Address old_address, int object_size) { |
Page* page = Page::FromAddress(old_address); |