v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
Public Types | |
enum | TestCase { IgnoreOOM, SetResourceConstraints, SetFatalHandler, SetCounterFunction, SetCreateHistogramFunction, SetAddHistogramSampleFunction } |
Public Types inherited from Thread | |
enum | LocalStorageKey { LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt } |
Public Member Functions | |
InitDefaultIsolateThread (TestCase testCase) | |
void | Run () |
bool | result () |
Public Member Functions inherited from Thread | |
Thread (const Options &options) | |
virtual | ~Thread () |
void | Start () |
void | Join () |
const char * | name () const |
PlatformData * | data () |
Additional Inherited Members | |
Static Public Member Functions inherited from Thread | |
static LocalStorageKey | CreateThreadLocalKey () |
static void | DeleteThreadLocalKey (LocalStorageKey key) |
static void * | GetThreadLocal (LocalStorageKey key) |
static int | GetThreadLocalInt (LocalStorageKey key) |
static void | SetThreadLocal (LocalStorageKey key, void *value) |
static void | SetThreadLocalInt (LocalStorageKey key, int value) |
static bool | HasThreadLocal (LocalStorageKey key) |
static void * | GetExistingThreadLocal (LocalStorageKey key) |
static void | YieldCPU () |
Static Public Attributes inherited from Thread | |
static const int | kMaxThreadNameLength = 16 |
Definition at line 15356 of file test-api.cc.
enum TestCase |
Enumerator | |
---|---|
IgnoreOOM | |
SetResourceConstraints | |
SetFatalHandler | |
SetCounterFunction | |
SetCreateHistogramFunction | |
SetAddHistogramSampleFunction |
Definition at line 15358 of file test-api.cc.
|
inlineexplicit |
Definition at line 15367 of file test-api.cc.
|
inline |
Definition at line 15406 of file test-api.cc.
|
inlinevirtual |
Implements Thread.
Definition at line 15372 of file test-api.cc.
References IgnoreOOM, V8::IgnoreOutOfMemoryException(), NULL, ResourceConstraints::set_max_old_space_size(), ResourceConstraints::set_max_young_space_size(), V8::SetAddHistogramSampleFunction(), SetAddHistogramSampleFunction, V8::SetCounterFunction(), SetCounterFunction, V8::SetCreateHistogramFunction(), SetCreateHistogramFunction, V8::SetFatalErrorHandler(), SetFatalHandler, v8::SetResourceConstraints(), and SetResourceConstraints.