| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 906b4fe8a968fb8beaba0db2fb175d08ee6bd39f..7bc1a88bb8aa1a6b917c2f12b448ce2a3f378406 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -1018,7 +1018,9 @@ UNINITIALIZED_TEST(TestCodeFlushing) {
|
| if (!FLAG_flush_code) return;
|
| i::FLAG_allow_natives_syntax = true;
|
| i::FLAG_optimize_for_size = false;
|
| - v8::Isolate* isolate = v8::Isolate::New();
|
| + v8::Isolate::CreateParams create_params;
|
| + create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
| + v8::Isolate* isolate = v8::Isolate::New(create_params);
|
| i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
| isolate->Enter();
|
| Factory* factory = i_isolate->factory();
|
| @@ -3684,7 +3686,9 @@ UNINITIALIZED_TEST(ReleaseStackTraceData) {
|
| }
|
| FLAG_use_ic = false; // ICs retain objects.
|
| FLAG_concurrent_recompilation = false;
|
| - v8::Isolate* isolate = v8::Isolate::New();
|
| + v8::Isolate::CreateParams create_params;
|
| + create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
| + v8::Isolate* isolate = v8::Isolate::New(create_params);
|
| {
|
| v8::Isolate::Scope isolate_scope(isolate);
|
| v8::HandleScope handle_scope(isolate);
|
| @@ -4997,7 +5001,9 @@ TEST(ArrayShiftSweeping) {
|
| UNINITIALIZED_TEST(PromotionQueue) {
|
| i::FLAG_expose_gc = true;
|
| i::FLAG_max_semi_space_size = 2 * (Page::kPageSize / MB);
|
| - v8::Isolate* isolate = v8::Isolate::New();
|
| + v8::Isolate::CreateParams create_params;
|
| + create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
| + v8::Isolate* isolate = v8::Isolate::New(create_params);
|
| i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
| {
|
| v8::Isolate::Scope isolate_scope(isolate);
|
|
|