5#ifndef V8_INIT_BOOTSTRAPPER_H_
6#define V8_INIT_BOOTSTRAPPER_H_
72 static constexpr int kDefaultContextIndex = 0;
76 &no_extensions, kDefaultContextIndex, no_callback,
142 int context_index,
Builtin error_constructor = Builtin::kErrorConstructor,
143 int error_function_length = 1);
BootstrapperActive(Bootstrapper *bootstrapper)
BootstrapperActive & operator=(const BootstrapperActive &)=delete
Bootstrapper * bootstrapper_
BootstrapperActive(const BootstrapperActive &)=delete
char * RestoreState(char *from)
DirectHandle< NativeContext > CreateEnvironmentForTesting()
DirectHandle< NativeContext > CreateEnvironment(MaybeDirectHandle< JSGlobalProxy > maybe_global_proxy, v8::Local< v8::ObjectTemplate > global_object_template, v8::ExtensionConfiguration *extensions, size_t context_snapshot_index, DeserializeEmbedderFieldsCallback embedder_fields_deserializer, v8::MicrotaskQueue *microtask_queue)
Bootstrapper & operator=(const Bootstrapper &)=delete
friend class NativesExternalStringResource
SourceCodeCache * extensions_cache()
void Iterate(RootVisitor *v)
void Initialize(bool create_heap_objects)
void FreeThreadResources()
Bootstrapper(const Bootstrapper &)=delete
SourceCodeCache extensions_cache_
NestingCounterType nesting_
DirectHandle< JSGlobalProxy > NewRemoteContext(MaybeDirectHandle< JSGlobalProxy > maybe_global_proxy, v8::Local< v8::ObjectTemplate > global_object_template)
bool InstallExtensions(DirectHandle< NativeContext > native_context, v8::ExtensionConfiguration *extensions)
char * ArchiveState(char *to)
static void InitializeOncePerProcess()
static int ArchiveSpacePerThread()
SourceCodeCache(const SourceCodeCache &)=delete
Tagged< FixedArray > cache_
SourceCodeCache & operator=(const SourceCodeCache &)=delete
SourceCodeCache(Script::Type type)
void Initialize(Isolate *isolate, bool create_heap_objects)
void Iterate(RootVisitor *v)
bool Lookup(Isolate *isolate, base::Vector< const char > name, DirectHandle< SharedFunctionInfo > *handle)
void Add(Isolate *isolate, base::Vector< const char > name, DirectHandle< SharedFunctionInfo > shared)
MicrotaskQueue * microtask_queue
V8_INLINE IndirectHandle< T > handle(Tagged< T > object, Isolate *isolate)
Handle< JSFunction > SimpleInstallFunction(Isolate *isolate, DirectHandle< JSObject > base, const char *name, Builtin call, int len, AdaptArguments adapt, PropertyAttributes attrs)
void InstallError(Isolate *isolate, DirectHandle< JSObject > global, DirectHandle< String > name, int context_index, Builtin error_constructor, int error_function_length)
!IsContextMap !IsContextMap native_context