Lines Matching defs:final
34 struct JSVM_Env__ final { struct
36 explicit JSVM_Env__(v8::Local<v8::Context> context, int32_t apiVersion) in JSVM_Env__()
45 int32_t GetVersion() in GetVersion()
50 using Callback = std::function<void(JSVM_Env)>;
52 inline void RequestInterrupt(Callback cb) in RequestInterrupt()
64 jsvm::InspectorAgent* GetInspectorAgent() in GetInspectorAgent()
71 inline v8::Local<v8::Context> context() const in context()
76 bool CanCallIntoJS() const in CanCallIntoJS()
81 static inline void HandleThrow(JSVM_Env env, v8::Local<v8::Value> value) in HandleThrow()
113 // Call finalizer immediately. argument
126 … "The finalizers are run directly from GC and must not affect GC " in CheckGCAccess() argument
145 void ReleaseJsvmData() in ReleaseJsvmData()
158 void RetainJsvmData(JSVM_Script_Data__* data) in RetainJsvmData()
191 // `JSVM_Finalizer` callbacks, because we must first finalize the ones that argument
194 v8impl::RefList finalizerList; argument
196 JSVM_ExtendedErrorInfo lastError;
199 std::vector<std::pair<int, std::list<JSVM_Script_Data__*>>> dataStack;
202 void* instanceData = nullptr;
205 v8::Locker* locker = nullptr;
207 using ScopeMemoryManager = MemoryChunkList<
209 ScopeMemoryManager scopeMemoryManager;
211 int32_t apiVersion;
213 int openHandleScopes = 0;
214 int openCallbackScopes = 0;
215 bool inGcFinalizer = false;
216 uint32_t debugFlags = 0;
221 std::mutex messageQueueMutex;
222 std::vector<Callback> messageQueue;
224 jsvm::ScopeLifecycleTracker* scopeTracker = nullptr;