Lines Matching refs:Runtime
27 int32_t Runtime::vmCount_ = 0;
28 int32_t Runtime::destroyCount_ = 0;
29 bool Runtime::firstVmCreated_ = false;
30 Mutex *Runtime::vmCreationLock_ = new Mutex();
31 Runtime *Runtime::instance_ = nullptr;
33 Runtime *Runtime::GetInstance()
39 Runtime::~Runtime()
54 void Runtime::CreateIfFirstVm(const JSRuntimeOptions &options)
65 instance_ = new Runtime();
72 void Runtime::InitializeIfFirstVm(EcmaVM *vm)
93 void Runtime::PreInitialization(const EcmaVM *vm)
104 void Runtime::PostInitialization(const EcmaVM *vm)
115 void Runtime::DestroyIfLastVm()
135 void Runtime::RegisterThread(JSThread* newThread)
147 void Runtime::UnregisterThread(JSThread* thread)
155 void Runtime::SuspendAll(JSThread *current)
166 void Runtime::ResumeAll(JSThread *current)
177 void Runtime::SuspendAllThreadsImpl(JSThread *current)
235 void Runtime::ResumeAllThreadsImpl(JSThread *current)
252 void Runtime::IterateSerializeRoot(const RootVisitor &v)
260 bool Runtime::HasCachedConstpool(const JSPandaFile *jsPandaFile)
266 JSTaggedValue Runtime::FindConstpool(const JSPandaFile *jsPandaFile, int32_t index)
272 JSTaggedValue Runtime::FindConstpoolUnlocked(const JSPandaFile *jsPandaFile, int32_t index)
285 JSHandle<ConstantPool> Runtime::AddOrUpdateConstpool(const JSPandaFile *jsPandaFile,
304 std::optional<std::reference_wrapper<CMap<int32_t, JSTaggedValue>>> Runtime::FindConstpools(
315 void Runtime::ProcessNativeDeleteInSharedGC(const WeakRootVisitor &visitor)
356 void Runtime::EraseUnusedConstpool(const JSPandaFile *jsPandaFile, int32_t index, int32_t constpoolIndex)
365 void Runtime::ProcessSharedNativeDelete(const WeakRootVisitor &visitor)
370 void Runtime::PushToSharedNativePointerList(JSNativePointer *pointer)
375 void Runtime::InvokeSharedNativePointerCallbacks()