Home
last modified time | relevance | path

Searched refs:GetMutatorLock (Results 1 - 20 of 20) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/mem/
H A Drendezvous.h46 MutatorLock *GetMutatorLock() in GetMutatorLock() function in ark::Rendezvous
60 explicit ScopedSuspendAllThreads(Rendezvous *rendezvous) ACQUIRE(*rendezvous_->GetMutatorLock())
66 ~ScopedSuspendAllThreads() RELEASE(*rendezvous_->GetMutatorLock())
81 explicit ScopedSuspendAllThreadsRunning(Rendezvous *rendezvous) ACQUIRE(*rendezvous_->GetMutatorLock());
82 ~ScopedSuspendAllThreadsRunning() RELEASE(*rendezvous_->GetMutatorLock());
H A Drendezvous.cpp23 Rendezvous::Rendezvous(PandaVM *pandaVm) : mutatorLock_(pandaVm->GetMutatorLock()) {} in Rendezvous()
49 ASSERT(rendezvous_->GetMutatorLock()->HasLock()); in ScopedSuspendAllThreadsRunning()
50 rendezvous_->GetMutatorLock()->Unlock(); in ScopedSuspendAllThreadsRunning()
57 rendezvous_->GetMutatorLock()->ReadLock(); in ~ScopedSuspendAllThreadsRunning()
/arkcompiler/runtime_core/static_core/runtime/
H A Dhandle_scope-inl.h28 !PandaVM::GetCurrent()->GetGC()->IsGCRunning() || PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in HandleScope()
41 !PandaVM::GetCurrent()->GetGC()->IsGCRunning() || PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in HandleScope()
54 !PandaVM::GetCurrent()->GetGC()->IsGCRunning() || PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in ~HandleScope()
H A Dthread_manager.h163 self->GetMutatorLock()->WriteLock(); in EnumerateThreadsForDump()
191 self->GetMutatorLock()->Unlock(); in EnumerateThreadsForDump()
H A Dthread.cpp79 : vm_(vm), threadType_(threadType), mutatorLock_(vm->GetMutatorLock()) in Thread()
428 GetMutatorLock()->Unlock();
429 GetMutatorLock()->ReadLock();
660 (GetMutatorLock()->GetState() != MutatorLock::MutatorLockState::UNLOCKED); in TestLockState()
H A Dmethod.cpp527 PandaVM::GetCurrent()->GetMutatorLock()->HasLock() || in StartProfiling()
531 PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in StartProfiling()
587 PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in StopProfiling()
H A Dcompiler.h52 ScopedMutatorLock() : os::memory::ReadLockHolder<MutatorLock>(*PandaVM::GetCurrent()->GetMutatorLock()) {} in ScopedMutatorLock()
H A Dclass_linker.cpp1251 !PandaVM::GetCurrent()->GetGC()->IsGCRunning() || PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in GetClass()
1295 !PandaVM::GetCurrent()->GetGC()->IsGCRunning() || PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in GetClass()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Dobject_repository.cpp36 ASSERT(ManagedThread::GetCurrent()->GetMutatorLock()->HasLock()); in CreateFrameObject()
58 ASSERT(ManagedThread::GetCurrent()->GetMutatorLock()->HasLock()); in CreateObject()
96 ASSERT(ManagedThread::GetCurrent()->GetMutatorLock()->HasLock()); in CreateObject()
135 ASSERT(ManagedThread::GetCurrent()->GetMutatorLock()->HasLock()); in GetProperties()
193 ASSERT(ManagedThread::GetCurrent()->GetMutatorLock()->HasLock()); in CreateObject()
228 ASSERT(ManagedThread::GetCurrent()->GetMutatorLock()->HasLock()); in GetProperties()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dpanda_vm.h216 MutatorLock *GetMutatorLock() in GetMutatorLock() function in ark::PandaVM
221 const MutatorLock *GetMutatorLock() const in GetMutatorLock() function in ark::PandaVM
H A Dclass_linker-inl.h30 !PandaVM::GetCurrent()->GetGC()->IsGCRunning() || PandaVM::GetCurrent()->GetMutatorLock()->HasLock()); in GetClass()
H A Dthread.h286 MutatorLock *GetMutatorLock() in GetMutatorLock() function in ark::Thread
291 const MutatorLock *GetMutatorLock() const in GetMutatorLock() function in ark::Thread
H A Dmanaged_thread.h736 GetMutatorLock()->Unlock();
847 GetMutatorLock()->ReadLock(); in onstexpr()
863 GetMutatorLock()->Unlock(); in onstexpr()
/arkcompiler/ets_runtime/ecmascript/
H A Druntime.h55 MutatorLock *GetMutatorLock() in GetMutatorLock() function in panda::ecmascript::Runtime
60 const MutatorLock *GetMutatorLock() const in GetMutatorLock() function in panda::ecmascript::Runtime
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
H A Dgc.cpp766 ASSERT(thread->GetMutatorLock()->HasLock()); in WaitForGCInManaged()
770 vm_->GetMutatorLock()->Unlock(); in WaitForGCInManaged()
773 vm_->GetMutatorLock()->ReadLock(); in WaitForGCInManaged()
774 ASSERT(vm_->GetMutatorLock()->HasLock()); in WaitForGCInManaged()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dlinear_order_test.cpp47 PandaVM::GetCurrent()->GetMutatorLock()->WriteLock(); in StartProfiling()
49 PandaVM::GetCurrent()->GetMutatorLock()->Unlock(); in StartProfiling()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
H A Dets_to_string_cache_test.cpp210 PandaVM::GetCurrent()->GetMutatorLock()->WriteLock(); in CheckCacheElementMembers()
217 PandaVM::GetCurrent()->GetMutatorLock()->Unlock(); in CheckCacheElementMembers()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
H A Druntime_interface.h288 if (Runtime::GetOptions().IsRunGcEverySafepoint() && Thread::GetCurrent()->GetMutatorLock()->HasLock()) { in Safepoint()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_gc.cpp102 os::memory::ReadLockHolder lock(*coroutine->GetPandaVM()->GetRendezvous()->GetMutatorLock()); in GCPhaseStarted()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_vm.cpp363 ASSERT(GetMutatorLock()->HasLock()); in HandleGCRoutineInMutator()

Completed in 18 milliseconds