[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/+/2390774 Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/master@{#69704}
This commit is contained in:
parent
ec49e377b1
commit
8654df00f4
@ -5547,7 +5547,7 @@ HEAP_TEST(Regress587004) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
HEAP_TEST(Regress589413) {
|
HEAP_TEST(Regress589413) {
|
||||||
if (!FLAG_incremental_marking) return;
|
if (!FLAG_incremental_marking || FLAG_stress_concurrent_allocation) return;
|
||||||
FLAG_stress_compaction = true;
|
FLAG_stress_compaction = true;
|
||||||
FLAG_manual_evacuation_candidates_selection = true;
|
FLAG_manual_evacuation_candidates_selection = true;
|
||||||
FLAG_parallel_compaction = false;
|
FLAG_parallel_compaction = false;
|
||||||
@ -6670,7 +6670,8 @@ UNINITIALIZED_TEST(OutOfMemory) {
|
|||||||
|
|
||||||
UNINITIALIZED_TEST(OutOfMemoryIneffectiveGC) {
|
UNINITIALIZED_TEST(OutOfMemoryIneffectiveGC) {
|
||||||
if (!FLAG_detect_ineffective_gcs_near_heap_limit) return;
|
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
|
#ifdef VERIFY_HEAP
|
||||||
if (FLAG_verify_heap) return;
|
if (FLAG_verify_heap) return;
|
||||||
#endif
|
#endif
|
||||||
|
@ -972,7 +972,8 @@ TEST(DecideToPretenureDuringCompilation) {
|
|||||||
// compilation.
|
// compilation.
|
||||||
if (!i::FLAG_opt || i::FLAG_always_opt || i::FLAG_minor_mc ||
|
if (!i::FLAG_opt || i::FLAG_always_opt || i::FLAG_minor_mc ||
|
||||||
i::FLAG_stress_incremental_marking || i::FLAG_optimize_for_size ||
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3893,7 +3893,8 @@ TEST(SamplingHeapProfilerPretenuredInlineAllocations) {
|
|||||||
CcTest::InitializeVM();
|
CcTest::InitializeVM();
|
||||||
if (!CcTest::i_isolate()->use_optimizer() || i::FLAG_always_opt) return;
|
if (!CcTest::i_isolate()->use_optimizer() || i::FLAG_always_opt) return;
|
||||||
if (i::FLAG_gc_global || i::FLAG_stress_compaction ||
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user