| Index: test/cctest/heap/test-heap.cc
|
| diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
|
| index 2743de98b4514a69f2604bcc946a25356ecba86f..afe143fc0e3f114a595295a0d8b1425f27e603f3 100644
|
| --- a/test/cctest/heap/test-heap.cc
|
| +++ b/test/cctest/heap/test-heap.cc
|
| @@ -5583,8 +5583,7 @@ static void RequestInterrupt(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| CcTest::isolate()->RequestInterrupt(&InterruptCallback357137, NULL);
|
| }
|
|
|
| -
|
| -UNINITIALIZED_TEST(Regress538257) {
|
| +HEAP_TEST(Regress538257) {
|
| i::FLAG_manual_evacuation_candidates_selection = true;
|
| v8::Isolate::CreateParams create_params;
|
| // Set heap limits.
|
| @@ -5609,7 +5608,8 @@ UNINITIALIZED_TEST(Regress538257) {
|
| ->SetFlag(MemoryChunk::FORCE_EVACUATION_CANDIDATE_FOR_TESTING);
|
| }
|
| heap::SimulateFullSpace(old_space);
|
| - heap->CollectGarbage(OLD_SPACE, i::GarbageCollectionReason::kTesting);
|
| + heap->CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask,
|
| + i::GarbageCollectionReason::kTesting);
|
| // If we get this far, we've successfully aborted compaction. Any further
|
| // allocations might trigger OOM.
|
| }
|
|
|