Commit 27ca3b3d authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[heap] Fix a DCHECK after b09807

Change-Id: I839de4a0c96347728abc5a0a9f7e2c4f9678133b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1640200Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61956}
parent fa4df241
......@@ -219,7 +219,7 @@ void Heap::ComputeMaxSpaceSizes(uint64_t physical_memory,
constexpr bool x64_bit = Heap::kPointerMultiplier >= 2;
if (FLAG_huge_max_old_generation_size && x64_bit &&
physical_memory / GB > 16) {
DCHECK_EQ(max_size / GB, 2048);
DCHECK_EQ(max_size / GB, 2);
max_size *= 2;
}
old_space = Min<uint64_t>(old_space, max_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment