Lines Matching full:instance
76 Runtime *Runtime::instance = nullptr; member in panda::Runtime
213 if (instance != nullptr) { in CreateInstance()
218 instance = new Runtime(options, internal_allocator, ctxs); in CreateInstance()
227 if (instance != nullptr) { in Create()
246 if (!instance->Initialize()) { in Create()
248 delete instance; in Create()
249 instance = nullptr; in Create()
253 instance->GetPandaVM()->StartGC(); in Create()
256 instance->GetNotificationManager()->VmStartEvent(); in Create()
257 instance->GetNotificationManager()->VmInitializationEvent(thread->GetId()); in Create()
258 instance->GetNotificationManager()->ThreadStartEvent(thread->GetId()); in Create()
265 return instance; in GetCurrent()
273 if (instance == nullptr) { in DestroyUnderLockHolder()
277 if (!instance->Shutdown()) { in DestroyUnderLockHolder()
292 delete instance; in DestroyUnderLockHolder()
293 instance = nullptr; in DestroyUnderLockHolder()
302 if (instance == nullptr) { in Destroy()
307 instance->GetPandaVM()->StopGC(); in Destroy()
309 instance->GetPandaVM()->UninitializeThreads(); in Destroy()
311 verifier::JobQueue::Stop(instance->GetVerificationOptions().Mode.OnlyVerify); in Destroy()
313 instance->GetNotificationManager()->VmDeathEvent(); in Destroy()