v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
Go to the source code of this file.
Data Structures | |
class | TestMemoryAllocatorScope |
Namespaces | |
v8 | |
v8::internal | |
Functions | |
TEST (MemoryAllocator) | |
TEST (NewSpace) | |
TEST (OldSpace) | |
TEST (LargeObjectSpace) | |
TEST | ( | MemoryAllocator | ) |
Definition at line 127 of file test-spaces.cc.
References CHECK, Heap::ConfigureHeapDefault(), Isolate::heap(), Isolate::InitializeLoggingAndCounters(), MemoryChunk::InsertAfter(), MemoryChunk::is_valid(), Heap::MaxExecutableSize(), Heap::MaxReserved(), Page::next_page(), v8::internal::NOT_EXECUTABLE, v8::internal::OLD_POINTER_SPACE, MemoryChunk::owner(), and OS::SetUp().
TEST | ( | NewSpace | ) |
Definition at line 177 of file test-spaces.cc.
References NewSpace::Available(), HeapObject::cast(), CHECK, Heap::ConfigureHeapDefault(), NewSpace::Contains(), NewSpace::HasBeenSetUp(), Isolate::heap(), HEAP, Isolate::InitializeLoggingAndCounters(), Page::kMaxNonCodeHeapObjectSize, Heap::MaxExecutableSize(), Heap::MaxReserved(), OS::SetUp(), NewSpace::SetUp(), and NewSpace::TearDown().
TEST | ( | OldSpace | ) |
Definition at line 207 of file test-spaces.cc.
References PagedSpace::AllocateRaw(), PagedSpace::Available(), CHECK, Heap::ConfigureHeapDefault(), Isolate::heap(), Isolate::InitializeLoggingAndCounters(), Page::kMaxNonCodeHeapObjectSize, Heap::MaxExecutableSize(), Heap::MaxOldGenerationSize(), Heap::MaxReserved(), v8::internal::NOT_EXECUTABLE, v8::internal::NULL, v8::internal::OLD_POINTER_SPACE, OS::SetUp(), PagedSpace::SetUp(), and PagedSpace::TearDown().
TEST | ( | LargeObjectSpace | ) |
Definition at line 237 of file test-spaces.cc.
References LargeObjectSpace::AllocateRaw(), v8::internal::available(), LargeObjectSpace::Available(), HeapObject::cast(), CHECK, LargeObjectSpace::Contains(), LargeObjectSpace::FindObject(), HEAP, V8::Initialize(), LargeObjectSpace::IsEmpty(), Page::kPageSize, v8::internal::lo, v8::internal::NOT_EXECUTABLE, and v8::internal::NULL.