![]() |
v8
3.25.30(node0.11.13)
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 (Handle< Object > global_object, v8::Handle< v8::ObjectTemplate > global_template, v8::ExtensionConfiguration *extensions) |
| void | DetachGlobal (Handle< Context > env) |
| 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 > native_context, v8::ExtensionConfiguration *extensions) |
| SourceCodeCache * | extensions_cache () |
Static Public Member Functions | |
| static void | InitializeOncePerProcess () |
| static void | TearDownExtensions () |
| static int | ArchiveSpacePerThread () |
Friends | |
| class | BootstrapperActive |
| class | Isolate |
| class | NativesExternalStringResource |
Definition at line 91 of file bootstrapper.h.
| char * AllocateAutoDeletedArray | ( | int | bytes | ) |
Definition at line 142 of file bootstrapper.cc.
References List< T, P >::Add(), v8::internal::memory(), and v8::internal::NULL.
|
static |
Definition at line 2737 of file bootstrapper.cc.
| char * ArchiveState | ( | char * | to | ) |
Definition at line 2743 of file bootstrapper.cc.
| Handle< Context > CreateEnvironment | ( | Handle< Object > | global_object, |
| v8::Handle< v8::ObjectTemplate > | global_template, | ||
| v8::ExtensionConfiguration * | extensions | ||
| ) |
Definition at line 348 of file bootstrapper.cc.
References HandleScope::CloseAndEscape(), and Bootstrapper::InstallExtensions().
Definition at line 372 of file bootstrapper.cc.
References JSGlobalProxy::cast(), and Context::GetIsolate().
Referenced by Context::DetachGlobal().
|
inline |
Definition at line 133 of file bootstrapper.h.
| void FreeThreadResources | ( | ) |
Definition at line 2758 of file bootstrapper.cc.
References ASSERT, and Bootstrapper::IsActive().
Referenced by ThreadManager::FreeThreadResources().
| void Initialize | ( | bool | create_heap_objects | ) |
Definition at line 101 of file bootstrapper.cc.
|
static |
Definition at line 119 of file bootstrapper.cc.
References v8::RegisterExtension().
| bool InstallExtensions | ( | Handle< Context > | native_context, |
| v8::ExtensionConfiguration * | extensions | ||
| ) |
Definition at line 2178 of file bootstrapper.cc.
References Bootstrapper::BootstrapperActive, and Isolate::set_context().
Referenced by Bootstrapper::CreateEnvironment().
|
inline |
Definition at line 117 of file bootstrapper.h.
Referenced by Scope::Analyze(), Heap::ClearJSFunctionResultCaches(), Heap::ClearNormalizedMapCaches(), Isolate::DoThrow(), Bootstrapper::FreeThreadResources(), JSObject::GetElementAttributeWithReceiver(), CodeGenerator::MakeCodePrologue(), and CodeGenerator::PrintCode().
| void Iterate | ( | ObjectVisitor * | v | ) |
Definition at line 342 of file bootstrapper.cc.
Referenced by Heap::IterateStrongRoots().
Definition at line 79 of file bootstrapper.cc.
References ASSERT, Handle< T >::cast(), CHECK_NOT_EMPTY_HANDLE, Isolate::factory(), NativesCollection< type >::GetBuiltinsCount(), NativesCollection< type >::GetRawScriptSource(), Isolate::heap(), Vector< T >::length(), Bootstrapper::NativesExternalStringResource, Factory::NewExternalStringFromAscii(), and Vector< T >::start().
| char * RestoreState | ( | char * | from | ) |
Definition at line 2751 of file bootstrapper.cc.
Referenced by ThreadManager::RestoreThread().
| void TearDown | ( | ) |
Definition at line 154 of file bootstrapper.cc.
References ASSERT, List< T, P >::at(), and v8::internal::NULL.
|
static |
Definition at line 133 of file bootstrapper.cc.
Referenced by V8::TearDown().
|
friend |
Definition at line 145 of file bootstrapper.h.
Referenced by Bootstrapper::InstallExtensions().
|
friend |
Definition at line 146 of file bootstrapper.h.
|
friend |
Definition at line 147 of file bootstrapper.h.
Referenced by Bootstrapper::NativesSourceLookup().