Commit 6701d590 authored by Dominik Inführ's avatar Dominik Inführ Committed by Commit Bot

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

Tests aren't compatible with concurrent allocation on background threads.

Bug: v8:10315
Change-Id: I376e98858fa1aacf1689e6791985774299def319
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2418391Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69989}
parent 695d9b64
...@@ -1635,6 +1635,7 @@ TEST(TestInternalWeakLists) { ...@@ -1635,6 +1635,7 @@ TEST(TestInternalWeakLists) {
TEST(TestSizeOfRegExpCode) { TEST(TestSizeOfRegExpCode) {
if (!FLAG_regexp_optimization) return; if (!FLAG_regexp_optimization) return;
FLAG_stress_concurrent_allocation = false;
v8::V8::Initialize(); v8::V8::Initialize();
...@@ -1862,6 +1863,7 @@ static Address AlignOldSpace(AllocationAlignment alignment, int offset) { ...@@ -1862,6 +1863,7 @@ static Address AlignOldSpace(AllocationAlignment alignment, int offset) {
// Test the case where allocation must be done from the free list, so filler // Test the case where allocation must be done from the free list, so filler
// may precede or follow the object. // may precede or follow the object.
TEST(TestAlignedOverAllocation) { TEST(TestAlignedOverAllocation) {
if (FLAG_stress_concurrent_allocation) return;
ManualGCScope manual_gc_scope; ManualGCScope manual_gc_scope;
Heap* heap = CcTest::heap(); Heap* heap = CcTest::heap();
// Test checks for fillers before and behind objects and requires a fresh // Test checks for fillers before and behind objects and requires a fresh
......
...@@ -28287,6 +28287,7 @@ TEST(TriggerDelayedMainThreadMetricsEvent) { ...@@ -28287,6 +28287,7 @@ TEST(TriggerDelayedMainThreadMetricsEvent) {
using v8::Context; using v8::Context;
using v8::Local; using v8::Local;
using v8::MaybeLocal; using v8::MaybeLocal;
i::FLAG_stress_concurrent_allocation = false;
// Set up isolate and context. // Set up isolate and context.
v8::Isolate* iso = CcTest::isolate(); v8::Isolate* iso = CcTest::isolate();
......
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