diff --git a/deps/v8/include/v8-version.h b/deps/v8/include/v8-version.h index 19adac702427b8..461af5e347d992 100644 --- a/deps/v8/include/v8-version.h +++ b/deps/v8/include/v8-version.h @@ -11,7 +11,7 @@ #define V8_MAJOR_VERSION 6 #define V8_MINOR_VERSION 1 #define V8_BUILD_NUMBER 534 -#define V8_PATCH_LEVEL 43 +#define V8_PATCH_LEVEL 44 // Use 1 for candidates and 0 otherwise. // (Boolean macro values are not supported by all preprocessors.) diff --git a/deps/v8/src/heap/heap.cc b/deps/v8/src/heap/heap.cc index 04de6ea6b6589d..62a5856f346137 100644 --- a/deps/v8/src/heap/heap.cc +++ b/deps/v8/src/heap/heap.cc @@ -1718,7 +1718,7 @@ void Heap::Scavenge() { if (mark_compact_collector()->sweeper().sweeping_in_progress() && memory_allocator_->unmapper()->NumberOfDelayedChunks() > - kMaxSemiSpaceSizeInKB / Page::kPageSize) { + static_cast(new_space_->MaximumCapacity() / Page::kPageSize)) { mark_compact_collector()->EnsureSweepingCompleted(); }