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 | Block |
Functions | |
void | SimulateFullSpace (PagedSpace *space) |
TEST (StressHandles) | |
TEST (StressJS) | |
unsigned int | Pseudorandom () |
TEST (CodeRange) | |
Variables | |
const AccessorDescriptor | kDescriptor |
unsigned int Pseudorandom | ( | ) |
void SimulateFullSpace | ( | PagedSpace * | space | ) |
Definition at line 38 of file test-alloc.cc.
References PagedSpace::ClearStats(), PagedSpace::Free(), PagedSpace::limit(), PagedSpace::ResetFreeList(), PagedSpace::SetTop(), and PagedSpace::top().
Referenced by TEST().
TEST | ( | StressHandles | ) |
Definition at line 117 of file test-alloc.cc.
References Smi::cast(), CHECK, Context::New(), and Smi::value().
TEST | ( | StressJS | ) |
Definition at line 139 of file test-alloc.cc.
References ASSERT, CHECK_EQ, Script::Compile(), FACTORY, Value::Int32Value(), kDescriptor, String::New(), Context::New(), and Utils::ToLocal().
TEST | ( | CodeRange | ) |
Definition at line 206 of file test-alloc.cc.
References List< T, P >::Add(), CodeRange::AllocateRawMemory(), CHECK, CodeRange::FreeRawMemory(), Page::kMaxNonCodeHeapObjectSize, v8::internal::MB, v8::internal::NULL, Pseudorandom(), OS::SetUp(), CodeRange::SetUp(), and CodeRange::TearDown().
const AccessorDescriptor kDescriptor |
Definition at line 132 of file test-alloc.cc.
Referenced by TEST().