Commit 2e8a9872 authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[heap] Make OutOfMemoryIneffectiveGC test more robust (the second try).

Change-Id: Ic10f599b6bb1c258082db61494a4e5c73220b00f
Reviewed-on: https://chromium-review.googlesource.com/1005255Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52524}
parent b590d6a4
......@@ -5927,7 +5927,7 @@ UNINITIALIZED_TEST(OutOfMemoryIneffectiveGC) {
while (heap->ms_count() < initial_ms_count + 10) {
HandleScope inner_scope(i_isolate);
factory->NewFixedArray(30000, TENURED);
if (heap->tracer()->CurrentMarkCompactMutatorUtilization() >= 0.3) {
if (heap->tracer()->AverageMarkCompactMutatorUtilization() >= 0.3) {
ineffective_ms_start = heap->ms_count() + 1;
}
}
......
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