Chromium Code Reviews| Index: test/cctest/heap/test-heap.cc |
| diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
| index 726887a23a6ee785167817c42343f789eb4b5973..577675f0a1e7a69805d52fe765c81b88189f66b3 100644 |
| --- a/test/cctest/heap/test-heap.cc |
| +++ b/test/cctest/heap/test-heap.cc |
| @@ -5571,33 +5571,6 @@ TEST(Regress507979) { |
| } |
| -TEST(ArrayShiftSweeping) { |
| - i::FLAG_expose_gc = true; |
| - CcTest::InitializeVM(); |
| - v8::HandleScope scope(CcTest::isolate()); |
| - Isolate* isolate = CcTest::i_isolate(); |
| - Heap* heap = isolate->heap(); |
| - |
| - v8::Local<v8::Value> result = CompileRun( |
| - "var array = new Array(400);" |
| - "var tmp = new Array(1000);" |
| - "array[0] = 10;" |
| - "gc();" |
| - "gc();" |
| - "array.shift();" |
| - "array;"); |
| - |
| - Handle<JSObject> o = Handle<JSObject>::cast( |
| - v8::Utils::OpenHandle(*v8::Local<v8::Object>::Cast(result))); |
| - CHECK(heap->InOldSpace(o->elements())); |
| - CHECK(heap->InOldSpace(*o)); |
| - Page* page = Page::FromAddress(o->elements()->address()); |
|
Michael Lippautz
2016/01/21 15:32:15
As far as I see this the test (at least the last p
|
| - CHECK(page->parallel_sweeping_state().Value() <= |
| - MemoryChunk::kSweepingFinalize || |
| - Marking::IsBlack(Marking::MarkBitFrom(o->elements()))); |
| -} |
| - |
| - |
| UNINITIALIZED_TEST(PromotionQueue) { |
| i::FLAG_expose_gc = true; |
| i::FLAG_max_semi_space_size = 2 * (Page::kPageSize / MB); |