Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 75b7ec1fa698f824e2e82c57da0cb9947132b08f..c11b577c10b3a68d2e1467e7ebe12b1f9342f88d 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4971,17 +4971,6 @@ void Heap::DisableInlineAllocation() { |
} |
-void Heap::LowerInlineAllocationLimit(intptr_t step) { |
- new_space()->LowerInlineAllocationLimit(step); |
-} |
- |
- |
-void Heap::ResetInlineAllocationLimit() { |
- new_space()->LowerInlineAllocationLimit( |
- ScavengeJob::kBytesAllocatedBeforeNextIdleTask); |
-} |
- |
- |
V8_DECLARE_ONCE(initialize_gc_once); |
static void InitializeGCOnce() { |
@@ -5090,7 +5079,8 @@ bool Heap::SetUp() { |
mark_compact_collector()->SetUp(); |
- ResetInlineAllocationLimit(); |
+ new_space()->SetIdleScavengeStep( |
+ ScavengeJob::kBytesAllocatedBeforeNextIdleTask); |
return true; |
} |