| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
| D | debuggable_thread.cpp | 29 os::memory::LockHolder lock(mutex_); in Reset() local 35 os::memory::LockHolder lock(mutex_); in BreakOnStart() local 41 os::memory::LockHolder lock(mutex_); in Continue() local 48 os::memory::LockHolder lock(mutex_); in ContinueTo() local 55 os::memory::LockHolder lock(mutex_); in StepInto() local 62 os::memory::LockHolder lock(mutex_); in StepOver() local 69 os::memory::LockHolder lock(mutex_); in StepOut() local 76 os::memory::LockHolder lock(mutex_); in IsPaused() local 82 os::memory::LockHolder lock(mutex_); in Touch() local 88 os::memory::LockHolder lock(mutex_); in Pause() local [all …]
|
| D | session_manager.cpp | 23 os::memory::LockHolder lock(mutex_); in AddSession() local 29 os::memory::LockHolder lock(mutex_); in RemoveSession() local 37 os::memory::LockHolder lock(mutex_); in GetSessionIdByThread() local 49 os::memory::LockHolder lock(mutex_); in GetThreadBySessionId() local 61 os::memory::LockHolder lock(mutex_); in EnumerateSessions() local
|
| D | inspector.cpp | 111 os::memory::ReadLockHolder lock(debuggerEventsLock_); in ConsoleCall() local 122 os::memory::ReadLockHolder lock(debuggerEventsLock_); in Exception() local 131 os::memory::ReadLockHolder lock(debuggerEventsLock_); in FramePop() local 140 os::memory::ReadLockHolder lock(debuggerEventsLock_); in MethodEntry() local 151 os::memory::ReadLockHolder lock(debuggerEventsLock_); in LoadModule() local 166 os::memory::ReadLockHolder lock(debuggerEventsLock_); in SingleStep() local 175 os::memory::ReadLockHolder lock(debuggerEventsLock_); in ThreadStart() local 203 os::memory::ReadLockHolder lock(debuggerEventsLock_); in ThreadEnd() local 215 os::memory::WriteLockHolder lock(vmDeathLock_); in VmDeath() local 225 os::memory::ReadLockHolder lock(vmDeathLock_); in RuntimeEnable() local [all …]
|
| D | source_manager.cpp | 26 os::memory::LockHolder lock(mutex_); in GetScriptId() local 43 os::memory::LockHolder lock(mutex_); in GetSourceFileName() local 57 os::memory::LockHolder lock(mutex_); in RemoveThread() local
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | monitor_pool.cpp | 27 os::memory::LockHolder lock(poolLock_); in CreateMonitor() local 46 os::memory::LockHolder lock(poolLock_); in LookupMonitor() local 56 os::memory::LockHolder lock(poolLock_); in FreeMonitor() local 67 os::memory::LockHolder lock(poolLock_); in DeflateMonitors() local 81 os::memory::LockHolder lock(poolLock_); in ReleaseMonitors() local 94 os::memory::LockHolder lock(poolLock_); in GetEnteredMonitorsIds() local
|
| D | mt_thread_manager.cpp | 42 os::memory::LockHolder lock(idsLock_); in GetInternalThreadId() local 57 os::memory::LockHolder lock(idsLock_); in RemoveInternalThreadId() local 151 os::memory::LockHolder lock(threadLock_); in WaitForDeregistration() local 216 os::memory::LockHolder lock(threadLock_); in SuspendAllThreads() local 229 os::memory::LockHolder lock(threadLock_); in IsRunningThreadExist() local 247 os::memory::LockHolder lock(threadLock_); in ResumeAllThreads() local 261 os::memory::LockHolder lock(threadLock_); in RegisterThread() local 279 os::memory::LockHolder lock(threadLock_); in UnregisterExitedThread() local 326 os::memory::LockHolder lock(threadLock_); in DumpUnattachedThreads() local 348 os::memory::LockHolder lock(threadLock_); in SuspendAndWaitThreadByInternalThreadId() local
|
| D | cha.cpp | 75 LockHolder lock(GetLock()); in HasSingleImplementation() local 81 LockHolder lock(GetLock()); in SetHasSingleImplementation() local 97 LockHolder lock(GetLock()); in InvalidateMethods() local 134 LockHolder lock(GetLock()); in AddDependency() local
|
| D | panda_vm.cpp | 39 os::memory::LockHolder lock(markQueueLock_); in VisitVmRoots() local 47 os::memory::LockHolder lock(markQueueLock_); in UpdateVmRefs() local 111 os::memory::LockHolder lock(markQueueLock_); in MarkObject() local 117 os::memory::LockHolder lock(markQueueLock_); in IterateOverMarkQueue() local 125 os::memory::LockHolder lock(markQueueLock_); in ClearMarkQueue() local
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | heap_space.cpp | 95 os::memory::WriteLockHolder lock(heapLock_); in ComputeNewSize() local 146 os::memory::WriteLockHolder lock(heapLock_); in ClampCurrentMaxHeapSize() local 174 os::memory::WriteLockHolder lock(heapLock_); in TryAllocPool() local 195 os::memory::WriteLockHolder lock(heapLock_); in TryAllocArena() local 201 os::memory::ReadLockHolder lock(heapLock_); in FreePool() local 213 os::memory::ReadLockHolder lock(heapLock_); in FreeArena() local 245 os::memory::ReadLockHolder lock(heapLock_); in GetCurrentFreeYoungSize() local 251 os::memory::ReadLockHolder lock(heapLock_); in GetCurrentFreeTenuredSize() local 271 os::memory::WriteLockHolder lock(heapLock_); in ComputeNewSize() local 296 os::memory::WriteLockHolder lock(heapLock_); in UpdateSize() local [all …]
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | workerQueue.cpp | 29 std::lock_guard<std::mutex> lock(m_); in Signal() local 49 std::unique_lock<std::mutex> lock(m_); in ~WorkerQueue() local 62 std::unique_lock<std::mutex> lock(queue->m_); in Worker() local 78 std::unique_lock<std::mutex> lock(m_); in Consume() local 103 std::unique_lock<std::mutex> lock(m_); in Wait() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_native_library_provider.cpp | 49 os::memory::ReadLockHolder lock(lock_); in LoadLibrary() local 65 os::memory::WriteLockHolder lock(lock_); in LoadLibrary() local 90 os::memory::ReadLockHolder lock(lock_); in ResolveSymbol() local 103 os::memory::ReadLockHolder lock(lock_); in GetLibraryPath() local 109 os::memory::WriteLockHolder lock(lock_); in SetLibraryPath() local 115 os::memory::WriteLockHolder lock(lock_); in AddLibraryPath() local
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | runtime.cpp | 39 LockHolder lock(constpoolLock_); in ~Runtime() local 54 LockHolder lock(*vmCreationLock_); in CreateIfFirstVm() local 72 LockHolder lock(*vmCreationLock_); in InitializeIfFirstVm() local 114 LockHolder lock(*vmCreationLock_); in DestroyIfLastVm() local 134 LockHolder lock(threadsLock_); in RegisterThread() local 146 LockHolder lock(threadsLock_); in UnregisterThread() local 179 LockHolder lock(threadsLock_); in SuspendAllThreadsImpl() local 218 LockHolder lock(threadsLock_); in SuspendAllThreadsImpl() local 234 LockHolder lock(threadsLock_); in ResumeAllThreadsImpl() local 258 LockHolder lock(serializeLock_); in IterateSerializeRoot() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | compileQueue.cpp | 39 std::unique_lock<std::mutex> lock(m_); in ~CompileQueue() local 52 std::unique_lock<std::mutex> lock(m_); in Schedule() local 69 std::unique_lock<std::mutex> lock(queue->m_); in Worker() local 85 std::unique_lock<std::mutex> lock(m_); in Consume() local 110 std::unique_lock<std::mutex> lock(m_); in Wait() local
|
| D | compileJob.cpp | 23 std::unique_lock<std::mutex> lock(m_); in Run() local 42 std::lock_guard<std::mutex> lock(m_); in Signal() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
| D | an_file_data_manager.cpp | 42 WriteLockHolder lock(lock_); in SafeDestroyAllData() local 59 WriteLockHolder lock(lock_); in SafeDestroyAnData() local 72 WriteLockHolder lock(lock_); in SafeLoad() local 170 ReadLockHolder lock(lock_); in SafeGetFileInfoIndex() local 176 ReadLockHolder lock(lock_); in SafeGetAnFileInfo() local 182 ReadLockHolder lock(lock_); in SafeGetStubFileInfo() local 188 WriteLockHolder lock(lock_); in SafeMergeChecksumInfo() local 232 ReadLockHolder lock(lock_); in SafeGetfullFileNameToChecksumMap() local 243 ReadLockHolder lock(lock_); in SafeCheckFilenameToChecksum() local 281 ReadLockHolder lock(lock_); in SafeInsideStub() local [all …]
|
| /arkcompiler/toolchain/inspector/ |
| D | connect_inspector.cpp | 133 std::lock_guard<std::mutex> lock(g_connectMutex); in OnMessage() local 182 std::lock_guard<std::mutex> lock(g_connectMutex); in SetSwitchCallBack() local 198 std::lock_guard<std::mutex> lock(g_connectMutex); in SetDebugModeCallBack() local 261 std::lock_guard<std::mutex> lock(g_connectMutex); in StoreMessage() local 274 std::lock_guard<std::mutex> lock(g_connectMutex); in RemoveMessage() local 302 std::lock_guard<std::mutex> lock(g_connectMutex); in SetProfilerCallback() local 312 std::lock_guard<std::mutex> lock(g_connectMutex); in SetRecordCallback() local 322 std::lock_guard<std::mutex> lock(g_connectMutex); in SetArkUICallback() local 331 std::lock_guard<std::mutex> lock(g_connectMutex); in SetWMSCallback() local 340 std::lock_guard<std::mutex> lock(g_connectMutex); in SetCangjieCallback() local
|
| D | ws_server.cpp | 36 std::lock_guard<std::mutex> lock(wsMutex_); in RunServer() local 109 std::lock_guard<std::mutex> lock(wsMutex_); in StopServer() local 123 std::unique_lock<std::shared_mutex> lock(g_mutex); in SendReply() local
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger_manager.cpp | 25 std::unique_lock<std::shared_mutex> lock(mutex_); in AddJsDebuggerManager() local 33 std::shared_lock<std::shared_mutex> lock(mutex_); in GetJsDebuggerManager() local 42 std::unique_lock<std::shared_mutex> lock(mutex_); in DeleteJsDebuggerManager() local
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | mutex.h | 170 explicit LockHolder(T &lock) ACQUIRE(lock) : lock_(lock) in LockHolder() 194 explicit ReadLockHolder(T &lock) ACQUIRE_SHARED(lock) : lock_(lock) in ReadLockHolder() 218 explicit WriteLockHolder(T &lock) ACQUIRE(lock) : lock_(lock) in WriteLockHolder() 248 inline bool TryLockMutex(L &lock) NO_THREAD_SAFETY_ANALYSIS in TryLockMutex() 261 inline int TryLock(L &lock) in TryLock() 284 inline void LockMutex(L &lock) NO_THREAD_SAFETY_ANALYSIS in LockMutex() 298 inline void Lock(L0 &lock) in Lock()
|
| /arkcompiler/ets_runtime/compiler_service/src/ |
| D | aot_compiler_client.cpp | 127 std::unique_lock<std::mutex> lock(loadSaMutex_); in LoadAotCompilerService() local 146 std::unique_lock<std::mutex> lock(loadSaMutex_); in LoadAotCompilerService() local 161 std::lock_guard<std::mutex> lock(mutex_); in SetAotCompiler() local 167 std::lock_guard<std::mutex> lock(mutex_); in GetAotCompiler() local 182 std::unique_lock<std::mutex> lock(loadSaMutex_); in OnLoadSystemAbilitySuccess() local 190 std::unique_lock<std::mutex> lock(loadSaMutex_); in OnLoadSystemAbilityFail() local
|
| /arkcompiler/ets_runtime/ecmascript/dfx/ |
| D | vm_thread_control.cpp | 28 LockHolder lock(vmThreadSuspensionMutex_); in NotifyVMThreadSuspension() local 72 LockHolder lock(vmThreadSuspensionMutex_); in SuspendVM() local 83 LockHolder lock(vmThreadSuspensionMutex_); in ResumeVM() local
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_state.cpp | 141 LockHolder lock(stateMutex_); in SuspendByGC() local 155 LockHolder lock(stateMutex_); in ResumeByGC() local 167 LockHolder lock(stateMutex_); in SetStartIfStop() local 178 LockHolder lock(stateMutex_); in SetStopAndNotify() local 186 LockHolder lock(stateMutex_); in SetSaveAndNotify() local 194 LockHolder lock(stateMutex_); in StartDumpBeforeDestroy() local
|
| D | pgo_profiler_manager.cpp | 174 LockHolder lock(requestAotCallbackMutex_); in SetRequestAotCallback() local 187 LockHolder lock(requestAotCallbackMutex_); in RequestAot() local 204 LockHolder lock(GetPGOInfoMutex()); in Destroy() local 223 LockHolder lock(profilersMutex_); in BuildProfiler() local 263 LockHolder lock(profilersMutex_); in Destroy() local 314 LockHolder lock(GetPGOInfoMutex()); in SavePGOInfo() local 340 LockHolder lock(profilersMutex_); in IsProfilerDestroyed() local 375 LockHolder lock(dumpTaskMutex_); in DumpPendingProfilers() local 387 LockHolder lock(dumpTaskMutex_); in TryDispatchDumpTask() local 397 LockHolder lock(profilersMutex_); in PushAllProfilersToPendingList() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/shared_mm/ |
| D | shared_mm.cpp | 25 LockHolder lock(jsSharedMemoryLock_); in ~JSSharedMemoryManager() local 49 LockHolder lock(jsSharedMemoryLock_); in InsertSharedMemory() local 57 LockHolder lock(jsSharedMemoryLock_); in IncreaseRefSharedMemory() local 65 LockHolder lock(jsSharedMemoryLock_); in DecreaseRefSharedMemory() local
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | compileQueue.cpp | 34 std::unique_lock<std::mutex> lock(m_); in Run() local 54 std::unique_lock<std::mutex> lock(m_); in Run() local 87 std::unique_lock<std::mutex> lock(globalMutex_); in RetrieveProgramFromCacheFiles() local 119 std::unique_lock<std::mutex> lock(globalMutex_); in InsertAbcCachePrograms() local 214 std::unique_lock<std::mutex> lock(globalMutex_); in OptimizeAndCacheProgram() local 254 std::unique_lock<std::mutex> lock(CompileFileJob::globalMutex_); in Run() local 374 std::unique_lock<std::mutex> lock(m_); in Schedule() local 397 std::unique_lock<std::mutex> lock(m_); in Schedule() local 420 std::unique_lock<std::mutex> lock(m_); in Schedule() local 443 std::unique_lock<std::mutex> lock(m_); in Schedule() local
|