diff options
author | Ujjwal Sharma <usharma1998@gmail.com> | 2019-03-15 18:35:06 +0530 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-03-28 16:36:18 -0400 |
commit | f579e1194046c50f2e6bb54348d48c8e7d1a53cf (patch) | |
tree | 9125787c758358365f74f9fd9673c14f57e67870 /deps/v8/src/heap/heap-controller.cc | |
parent | 2c73868b0471fbd4038f500d076df056cbf697fe (diff) | |
download | node-new-f579e1194046c50f2e6bb54348d48c8e7d1a53cf.tar.gz |
deps: update V8 to 7.4.288.13
PR-URL: https://github.com/nodejs/node/pull/26685
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'deps/v8/src/heap/heap-controller.cc')
-rw-r--r-- | deps/v8/src/heap/heap-controller.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/src/heap/heap-controller.cc b/deps/v8/src/heap/heap-controller.cc index d515199518..41ffa7b1a3 100644 --- a/deps/v8/src/heap/heap-controller.cc +++ b/deps/v8/src/heap/heap-controller.cc @@ -3,6 +3,8 @@ // found in the LICENSE file. #include "src/heap/heap-controller.h" + +#include "src/heap/spaces.h" #include "src/isolate-inl.h" namespace v8 { @@ -73,7 +75,7 @@ size_t MemoryController::CalculateAllocationLimit( double factor = GrowingFactor(gc_speed, mutator_speed, max_factor); if (FLAG_trace_gc_verbose) { - heap_->isolate()->PrintWithTimestamp( + Isolate::FromHeap(heap_)->PrintWithTimestamp( "%s factor %.1f based on mu=%.3f, speed_ratio=%.f " "(gc=%.f, mutator=%.f)\n", ControllerName(), factor, target_mutator_utilization_, @@ -104,7 +106,7 @@ size_t MemoryController::CalculateAllocationLimit( size_t result = static_cast<size_t>(Min(limit, halfway_to_the_max)); if (FLAG_trace_gc_verbose) { - heap_->isolate()->PrintWithTimestamp( + Isolate::FromHeap(heap_)->PrintWithTimestamp( "%s Limit: old size: %" PRIuS " KB, new limit: %" PRIuS " KB (%.1f)\n", ControllerName(), curr_size / KB, result / KB, factor); } |