Skip to content

Commit 7bdb8db

Browse files
targosgibfahn
authored andcommitted
deps: cherry-pick 676c413 from upstream V8
Original commit message: [heap] Fix threshold for delayed chunks after 2c7561. Bug: chromium:771966 Change-Id: Iac5ee55c0d31de477f21f091f4be015a1ca8d00c Reviewed-on: https://chromium-review.googlesource.com/702382 Reviewed-by: Michael Lippautz <[email protected]> Commit-Queue: Ulan Degenbaev <[email protected]> Cr-Commit-Position: refs/heads/master@{#48316} Refs: v8/v8@676c413 Refs: nodejs/help#917 (comment) Refs: https://bugs.chromium.org/p/chromium/issues/detail?id=771966 PR-URL: #16490 Backport-PR-URL: #16569 Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 5787f53 commit 7bdb8db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/v8/include/v8-version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 6
1212
#define V8_MINOR_VERSION 1
1313
#define V8_BUILD_NUMBER 534
14-
#define V8_PATCH_LEVEL 43
14+
#define V8_PATCH_LEVEL 44
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

deps/v8/src/heap/heap.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ void Heap::Scavenge() {
17181718

17191719
if (mark_compact_collector()->sweeper().sweeping_in_progress() &&
17201720
memory_allocator_->unmapper()->NumberOfDelayedChunks() >
1721-
kMaxSemiSpaceSizeInKB / Page::kPageSize) {
1721+
static_cast<int>(new_space_->MaximumCapacity() / Page::kPageSize)) {
17221722
mark_compact_collector()->EnsureSweepingCompleted();
17231723
}
17241724

0 commit comments

Comments
 (0)