Commit 27a8684a authored by Dominik Inführ's avatar Dominik Inführ Committed by Commit Bot

[heap] Disable --stress-concurrent-allocation for test

Tests fails sometimes with concurrent allocation.

Bug: v8:10315
Change-Id: Ic055a3573f6daacc435670efcf2e310f4c746451
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2423714Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70048}
parent 9ada2284
...@@ -4222,6 +4222,7 @@ size_t NearHeapLimitCallback(void* data, size_t current_heap_limit, ...@@ -4222,6 +4222,7 @@ size_t NearHeapLimitCallback(void* data, size_t current_heap_limit,
} }
UNINITIALIZED_TEST(DebugSetOutOfMemoryListener) { UNINITIALIZED_TEST(DebugSetOutOfMemoryListener) {
i::FLAG_stress_concurrent_allocation = false;
v8::Isolate::CreateParams create_params; v8::Isolate::CreateParams create_params;
create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
create_params.constraints.set_max_old_generation_size_in_bytes(10 * i::MB); create_params.constraints.set_max_old_generation_size_in_bytes(10 * i::MB);
......
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