![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <bootstrapper.h>
Public Member Functions | |
| void | Initialize (bool create_heap_objects) |
| void | TearDown () |
| Handle< Context > | CreateEnvironment (Isolate *isolate, Handle< Object > global_object, v8::Handle< v8::ObjectTemplate > global_template, v8::ExtensionConfiguration *extensions) |
| void | DetachGlobal (Handle< Context > env) |
| void | ReattachGlobal (Handle< Context > env, Handle< Object > global_object) |
| void | Iterate (ObjectVisitor *v) |
| Handle< String > | NativesSourceLookup (int index) |
| bool | IsActive () const |
| char * | ArchiveState (char *to) |
| char * | RestoreState (char *from) |
| void | FreeThreadResources () |
| char * | AllocateAutoDeletedArray (int bytes) |
| bool | InstallExtensions (Handle< Context > global_context, v8::ExtensionConfiguration *extensions) |
| SourceCodeCache * | extensions_cache () |
Static Public Member Functions | |
| static int | ArchiveSpacePerThread () |
Friends | |
| class | BootstrapperActive |
| class | Isolate |
| class | NativesExternalStringResource |
Definition at line 89 of file bootstrapper.h.
| char * AllocateAutoDeletedArray | ( | int | bytes | ) |
Definition at line 101 of file bootstrapper.cc.
References List< T, P >::Add(), and v8::internal::NULL.
|
static |
Definition at line 2346 of file bootstrapper.cc.
| char * ArchiveState | ( | char * | to | ) |
Definition at line 2352 of file bootstrapper.cc.
| Handle< Context > CreateEnvironment | ( | Isolate * | isolate, |
| Handle< Object > | global_object, | ||
| v8::Handle< v8::ObjectTemplate > | global_template, | ||
| v8::ExtensionConfiguration * | extensions | ||
| ) |
Definition at line 298 of file bootstrapper.cc.
References Bootstrapper::InstallExtensions().
Referenced by Context::New().
Definition at line 326 of file bootstrapper.cc.
References JSGlobalProxy::cast().
Referenced by Context::DetachGlobal().
|
inline |
Definition at line 132 of file bootstrapper.h.
| void FreeThreadResources | ( | ) |
Definition at line 2367 of file bootstrapper.cc.
References ASSERT, and Bootstrapper::IsActive().
Referenced by ThreadManager::FreeThreadResources().
| void Initialize | ( | bool | create_heap_objects | ) |
Definition at line 94 of file bootstrapper.cc.
References GCExtension::Register(), and ExternalizeStringExtension::Register().
| bool InstallExtensions | ( | Handle< Context > | global_context, |
| v8::ExtensionConfiguration * | extensions | ||
| ) |
Definition at line 1899 of file bootstrapper.cc.
References Bootstrapper::BootstrapperActive, and Isolate::set_context().
Referenced by Bootstrapper::CreateEnvironment().
|
inline |
Definition at line 116 of file bootstrapper.h.
Referenced by Heap::ClearJSFunctionResultCaches(), Heap::ClearNormalizedMapCaches(), Isolate::DoThrow(), and Bootstrapper::FreeThreadResources().
| void Iterate | ( | ObjectVisitor * | v | ) |
Definition at line 292 of file bootstrapper.cc.
Referenced by Heap::IterateStrongRoots().
Definition at line 73 of file bootstrapper.cc.
References ASSERT, Handle< T >::cast(), Isolate::factory(), NativesCollection< type >::GetBuiltinsCount(), NativesCollection< type >::GetRawScriptSource(), Isolate::heap(), Vector< T >::length(), Bootstrapper::NativesExternalStringResource, Factory::NewExternalStringFromAscii(), and Vector< T >::start().
Definition at line 336 of file bootstrapper.cc.
References ASSERT, and Handle< T >::cast().
Referenced by Context::ReattachGlobal().
| char * RestoreState | ( | char * | from | ) |
Definition at line 2360 of file bootstrapper.cc.
Referenced by ThreadManager::RestoreThread().
| void TearDown | ( | ) |
Definition at line 113 of file bootstrapper.cc.
References ASSERT, List< T, P >::at(), and v8::internal::NULL.
|
friend |
Definition at line 143 of file bootstrapper.h.
Referenced by Bootstrapper::InstallExtensions().
|
friend |
Definition at line 144 of file bootstrapper.h.
|
friend |
Definition at line 145 of file bootstrapper.h.
Referenced by Bootstrapper::NativesSourceLookup().