Commit 8654df00 authored by Dominik Inführ's avatar Dominik Inführ Committed by Commit Bot

[heap] Skip some tests with --stress-concurrent-allocation

Tests do not expect concurrent allocation and are simply skipped in that
configuration.

Bug: v8:10315
Change-Id: Ia371efa3c27e1f8b76fab47abcce2d7c218224bc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2390774Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69704}
parent ec49e377
......@@ -5547,7 +5547,7 @@ HEAP_TEST(Regress587004) {
}
HEAP_TEST(Regress589413) {
if (!FLAG_incremental_marking) return;
if (!FLAG_incremental_marking || FLAG_stress_concurrent_allocation) return;
FLAG_stress_compaction = true;
FLAG_manual_evacuation_candidates_selection = true;
FLAG_parallel_compaction = false;
......@@ -6670,7 +6670,8 @@ UNINITIALIZED_TEST(OutOfMemory) {
UNINITIALIZED_TEST(OutOfMemoryIneffectiveGC) {
if (!FLAG_detect_ineffective_gcs_near_heap_limit) return;
if (FLAG_stress_incremental_marking) return;
if (FLAG_stress_incremental_marking || FLAG_stress_concurrent_allocation)
return;
#ifdef VERIFY_HEAP
if (FLAG_verify_heap) return;
#endif
......
......@@ -972,7 +972,8 @@ TEST(DecideToPretenureDuringCompilation) {
// compilation.
if (!i::FLAG_opt || i::FLAG_always_opt || i::FLAG_minor_mc ||
i::FLAG_stress_incremental_marking || i::FLAG_optimize_for_size ||
i::FLAG_turbo_nci || i::FLAG_turbo_nci_as_midtier) {
i::FLAG_turbo_nci || i::FLAG_turbo_nci_as_midtier ||
i::FLAG_stress_concurrent_allocation) {
return;
}
......
......@@ -3893,7 +3893,8 @@ TEST(SamplingHeapProfilerPretenuredInlineAllocations) {
CcTest::InitializeVM();
if (!CcTest::i_isolate()->use_optimizer() || i::FLAG_always_opt) return;
if (i::FLAG_gc_global || i::FLAG_stress_compaction ||
i::FLAG_stress_incremental_marking) {
i::FLAG_stress_incremental_marking ||
i::FLAG_stress_concurrent_allocation) {
return;
}
......
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