Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: test/cctest/heap/test-heap.cc

Issue 2182113002: PPC: Fixed RememberedSetRemoveRange to have chunk->size > PageSize (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Calculate array size based on PageSize Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698