[heap] Disable --stress-concurrent-allocation for tests
Tests failed from time-to-time with --stress-concurrent-allocation. So run those tests with that flag disabled. Bug: v8:10315 Change-Id: I8a2b9f03d7bcd8a797134510f608dffb78dd1cdf Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2403257 Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/master@{#69826}
This commit is contained in:
parent
9a48abc519
commit
74f5213e3e
@ -1281,6 +1281,7 @@ TEST(TestOptimizeAfterBytecodeFlushingCandidate) {
|
||||
i::FLAG_incremental_marking = true;
|
||||
i::FLAG_flush_bytecode = true;
|
||||
i::FLAG_allow_natives_syntax = true;
|
||||
ManualGCScope manual_gc_scope;
|
||||
|
||||
CcTest::InitializeVM();
|
||||
Isolate* isolate = CcTest::i_isolate();
|
||||
|
@ -1263,6 +1263,9 @@ static TestStatsStream GetHeapStatsUpdate(
|
||||
|
||||
|
||||
TEST(HeapSnapshotObjectsStats) {
|
||||
// Concurrent allocation might break results
|
||||
v8::internal::FLAG_stress_concurrent_allocation = false;
|
||||
|
||||
LocalContext env;
|
||||
v8::HandleScope scope(env->GetIsolate());
|
||||
v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler();
|
||||
|
Loading…
Reference in New Issue
Block a user