diff options
Diffstat (limited to 'deps/v8/src/heap/memory-reducer.cc')
-rw-r--r-- | deps/v8/src/heap/memory-reducer.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/deps/v8/src/heap/memory-reducer.cc b/deps/v8/src/heap/memory-reducer.cc index 6d0dfe5012..704e656796 100644 --- a/deps/v8/src/heap/memory-reducer.cc +++ b/deps/v8/src/heap/memory-reducer.cc @@ -4,12 +4,12 @@ #include "src/heap/memory-reducer.h" -#include "src/flags.h" +#include "src/flags/flags.h" #include "src/heap/gc-tracer.h" #include "src/heap/heap-inl.h" #include "src/heap/incremental-marking.h" -#include "src/utils.h" -#include "src/v8.h" +#include "src/init/v8.h" +#include "src/utils/utils.h" namespace v8 { namespace internal { @@ -39,7 +39,8 @@ void MemoryReducer::TimerTask::RunInternal() { Event event; double time_ms = heap->MonotonicallyIncreasingTimeInMs(); heap->tracer()->SampleAllocation(time_ms, heap->NewSpaceAllocationCounter(), - heap->OldGenerationAllocationCounter()); + heap->OldGenerationAllocationCounter(), + heap->EmbedderAllocationCounter()); bool low_allocation_rate = heap->HasLowAllocationRate(); bool optimize_for_memory = heap->ShouldOptimizeForMemoryUsage(); if (FLAG_trace_gc_verbose) { |