Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 3be440984f391bdc1bcfa0a74469ef46f99c95e9..84e59806a716ae9af695a389eac5143cce1f115b 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -1900,13 +1900,6 @@ class Heap { |
double mutator_speed); |
// =========================================================================== |
- // Inline allocation. ======================================================== |
- // =========================================================================== |
- |
- void LowerInlineAllocationLimit(intptr_t step); |
- void ResetInlineAllocationLimit(); |
- |
- // =========================================================================== |
// Idle notification. ======================================================== |
// =========================================================================== |
@@ -2293,6 +2286,8 @@ class Heap { |
ScavengeJob* scavenge_job_; |
+ InlineAllocationObserver* idle_scavenge_observer_; |
+ |
// These two counters are monotomically increasing and never reset. |
size_t full_codegen_bytes_generated_; |
size_t crankshaft_codegen_bytes_generated_; |
@@ -2363,6 +2358,7 @@ class Heap { |
friend class GCCallbacksScope; |
friend class GCTracer; |
friend class HeapIterator; |
+ friend class IdleScavengeObserver; |
friend class IncrementalMarking; |
friend class MarkCompactCollector; |
friend class MarkCompactMarkingVisitor; |