| Index: test/cctest/test-heap.cc
 | 
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
 | 
| index 6af9962bd11daaa4c0286921484a119ea4bc185b..5f713503eec20e9755a20b13bf3942bd2d34d81b 100644
 | 
| --- a/test/cctest/test-heap.cc
 | 
| +++ b/test/cctest/test-heap.cc
 | 
| @@ -960,7 +960,7 @@ TEST(Regression39128) {
 | 
|    Factory* factory = isolate->factory();
 | 
|  
 | 
|    // Increase the chance of 'bump-the-pointer' allocation in old space.
 | 
| -  HEAP->CollectAllGarbage(Heap::kNoGCFlags);
 | 
| +  HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask);
 | 
|  
 | 
|    v8::HandleScope scope(CcTest::isolate());
 | 
|  
 | 
| @@ -984,7 +984,7 @@ TEST(Regression39128) {
 | 
|    // just enough room to allocate JSObject and thus fill the newspace.
 | 
|  
 | 
|    int allocation_amount = Min(FixedArray::kMaxSize,
 | 
| -                              Page::kMaxNonCodeHeapObjectSize);
 | 
| +                              Page::kMaxNonCodeHeapObjectSize + kPointerSize);
 | 
|    int allocation_len = LenFromSize(allocation_amount);
 | 
|    NewSpace* new_space = HEAP->new_space();
 | 
|    Address* top_addr = new_space->allocation_top_address();
 | 
| 
 |