Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index aa2b704ca7c2d04ee2bf0c6210bbfea97513ab83..ae2d7c6b61eef8fa76c47d41428854f85d83c1e2 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -6835,7 +6835,8 @@ TEST(RememberedSetRemoveRange) { |
Heap* heap = CcTest::heap(); |
Isolate* isolate = heap->isolate(); |
- Handle<FixedArray> array = isolate->factory()->NewFixedArray(500000); |
+ Handle<FixedArray> array = isolate->factory()->NewFixedArray(Page::kPageSize / |
+ kPointerSize); |
MemoryChunk* chunk = MemoryChunk::FromAddress(array->address()); |
CHECK(chunk->owner()->identity() == LO_SPACE); |
Address start = array->address(); |