Because allocation in large object space can now require checking the

size of the entire old generation, the heap must be (more) properly
set up to test the large object space.
Review URL: http://codereview.chromium.org/8872

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@634 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d9285da2
......@@ -207,14 +207,11 @@ TEST(OldSpace) {
TEST(LargeObjectSpace) {
CHECK(Heap::ConfigureHeapDefault());
MemoryAllocator::Setup(Heap::MaxCapacity());
CHECK(Heap::Setup(false));
LargeObjectSpace* lo = new LargeObjectSpace(LO_SPACE);
LargeObjectSpace* lo = Heap::lo_space();
CHECK(lo != NULL);
CHECK(lo->Setup());
Map* faked_map = reinterpret_cast<Map*>(HeapObject::FromAddress(0));
int lo_size = Page::kPageSize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment