v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Go to the source code of this file.
Data Structures | |
class | TestMemoryAllocatorScope |
class | TestCodeRangeScope |
Namespaces | |
v8 | |
v8::internal | |
Functions | |
TEST (MemoryChunk) | |
TEST (MemoryAllocator) | |
TEST (NewSpace) | |
TEST (OldSpace) | |
TEST (LargeObjectSpace) | |
TEST (SizeOfFirstPageIsLargeEnough) | |
TEST | ( | MemoryChunk | ) |
Definition at line 209 of file test-spaces.cc.
References CHECK, Heap::ConfigureHeapDefault(), v8::internal::EXECUTABLE, Isolate::heap(), CcTest::i_isolate(), Isolate::InitializeLoggingAndCounters(), v8::internal::MB, v8::internal::NOT_EXECUTABLE, v8::internal::NULL, Pseudorandom(), and CodeRange::SetUp().
TEST | ( | MemoryAllocator | ) |
Definition at line 265 of file test-spaces.cc.
References CHECK, Heap::ConfigureHeapDefault(), Isolate::heap(), CcTest::i_isolate(), Isolate::InitializeLoggingAndCounters(), MemoryChunk::InsertAfter(), MemoryChunk::is_valid(), Heap::MaxExecutableSize(), Heap::MaxReserved(), Page::next_page(), v8::internal::NOT_EXECUTABLE, v8::internal::OLD_POINTER_SPACE, and MemoryChunk::owner().
TEST | ( | NewSpace | ) |
Definition at line 314 of file test-spaces.cc.
References NewSpace::Available(), HeapObject::cast(), CHECK, Heap::ConfigureHeapDefault(), NewSpace::Contains(), NewSpace::HasBeenSetUp(), CcTest::heap(), Isolate::heap(), CcTest::i_isolate(), Isolate::InitializeLoggingAndCounters(), Page::kMaxRegularHeapObjectSize, Heap::MaxExecutableSize(), Heap::MaxReserved(), obj, Heap::ReservedSemiSpaceSize(), NewSpace::SetUp(), and NewSpace::TearDown().
TEST | ( | OldSpace | ) |
Definition at line 343 of file test-spaces.cc.
References PagedSpace::AllocateRaw(), PagedSpace::Available(), CHECK, Heap::ConfigureHeapDefault(), Isolate::heap(), CcTest::i_isolate(), Isolate::InitializeLoggingAndCounters(), Page::kMaxRegularHeapObjectSize, Heap::MaxExecutableSize(), Heap::MaxOldGenerationSize(), Heap::MaxReserved(), v8::internal::NOT_EXECUTABLE, v8::internal::NULL, v8::internal::OLD_POINTER_SPACE, PagedSpace::SetUp(), and PagedSpace::TearDown().
TEST | ( | LargeObjectSpace | ) |
Definition at line 372 of file test-spaces.cc.
References LargeObjectSpace::AllocateRaw(), v8::internal::available(), LargeObjectSpace::Available(), HeapObject::cast(), CHECK, LargeObjectSpace::Contains(), LargeObjectSpace::FindObject(), CcTest::heap(), V8::Initialize(), LargeObjectSpace::IsEmpty(), Page::kPageSize, Heap::lo_space(), v8::internal::NOT_EXECUTABLE, v8::internal::NULL, and obj.
TEST | ( | SizeOfFirstPageIsLargeEnough | ) |
Definition at line 405 of file test-spaces.cc.
References CHECK, CHECK_EQ, PagedSpace::CountTotalPages(), v8::internal::FIRST_PAGED_SPACE, Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), LargeObjectSpace::IsEmpty(), v8::internal::LAST_PAGED_SPACE, Heap::lo_space(), and Heap::paged_space().