![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|


Public Types | |
| enum | TestCase { 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 | StartSynchronously () |
| void | Join () |
| const char * | name () const |
| PlatformData * | data () |
| void | NotifyStartedAndRun () |
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 19383 of file test-api.cc.
| enum TestCase |
| Enumerator | |
|---|---|
| SetResourceConstraints | |
| SetFatalHandler | |
| SetCounterFunction | |
| SetCreateHistogramFunction | |
| SetAddHistogramSampleFunction | |
Definition at line 19385 of file test-api.cc.
|
inlineexplicit |
Definition at line 19393 of file test-api.cc.
|
inline |
Definition at line 19432 of file test-api.cc.
|
inlinevirtual |
Implements Thread.
Definition at line 19398 of file test-api.cc.
References Isolate::Dispose(), Isolate::Enter(), Isolate::Exit(), CcTest::isolate(), Isolate::New(), 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.