We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95cd866 commit 676c413Copy full SHA for 676c413
src/heap/heap.cc
@@ -1937,7 +1937,7 @@ void Heap::Scavenge() {
1937
1938
if (mark_compact_collector()->sweeper().sweeping_in_progress() &&
1939
memory_allocator_->unmapper()->NumberOfDelayedChunks() >
1940
- kMaxSemiSpaceSizeInKB / Page::kPageSize) {
+ static_cast<int>(new_space_->MaximumCapacity() / Page::kPageSize)) {
1941
mark_compact_collector()->EnsureSweepingCompleted();
1942
}
1943
0 commit comments