/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/ |
H A D | update_remset_worker.h | 116 size_t ProcessAllCards() REQUIRES(updateRemsetLock_); 119 size_t ProcessHotCards() REQUIRES(updateRemsetLock_); 122 size_t ProcessCommonCards() REQUIRES(updateRemsetLock_); 130 virtual void ContinueProcessCards() REQUIRES(updateRemsetLock_) = 0; 183 void FillFromDefered(PandaUnorderedSet<CardTable::CardPtr> *cards) REQUIRES(updateRemsetLock_); 184 void FillFromQueue(PandaUnorderedSet<CardTable::CardPtr> *cards) REQUIRES(updateRemsetLock_); 185 void FillFromThreads(PandaUnorderedSet<CardTable::CardPtr> *cards) REQUIRES(updateRemsetLock_); 186 void FillFromHotCards(PandaUnorderedSet<CardTable::CardPtr> *cards) REQUIRES(updateRemsetLock_); 194 void DoInvalidateRegions(RegionVector *regions) REQUIRES(updateRemsetLock_);
|
H A D | update_remset_task_queue.h | 41 void ContinueProcessCards() REQUIRES(this->updateRemsetLock_) final; 47 void StartProcessCards() REQUIRES(this->updateRemsetLock_); 50 void AddToWaitListWithTimeout() REQUIRES(this->updateRemsetLock_); 53 void AddToWaitList() REQUIRES(this->updateRemsetLock_);
|
H A D | update_remset_thread.h | 95 void ContinueProcessCards() REQUIRES(this->updateRemsetLock_) final; 99 void Sleep() REQUIRES(this->updateRemsetLock_) in REQUIRES() function in ark::mem::final
|
/arkcompiler/toolchain/tooling/test/utils/ |
H A D | test_util.h | 54 auto predicate = [&location]() REQUIRES(eventMutex_) { return lastEventLocation_ == location; }; in WaitForBreakpoint() 55 auto onSuccess = []() REQUIRES(eventMutex_) { in WaitForBreakpoint() 65 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::DROPFRAME; }; in WaitForDropframe() 71 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::CHECK_COMPLETE; }; in WaitForCheckComplete() 78 []() REQUIRES(eventMutex_) { in WaitForExit() 85 auto predicate = [&location]() REQUIRES(eventMutex_) { return lastEventLocation_ == location; }; in WaitForStepComplete() 86 auto onSuccess = []() REQUIRES(eventMutex_) { in WaitForStepComplete() 96 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::EXCEPTION; }; in WaitForException() 103 []() REQUIRES(eventMutex_) { in WaitForInit() 110 auto predicate = []() REQUIRES(eventMutex in WaitForLoadModule() [all...] |
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | thread_manager.h | 145 // REQUIRES(*GetThreadsLock()) in EnumerateThreadsWithLockheld() 263 bool HasNoActiveThreads() const REQUIRES(threadLock_) in REQUIRES() function in ark::MTThreadManager 270 bool StopThreadsOnTerminationLoops(MTManagedThread *current) REQUIRES(threadLock_); 276 void StopDaemonThreads() REQUIRES(threadLock_); 282 bool DeregisterSuspendedThreads() REQUIRES(threadLock_); 284 void DecreaseCountersForThread(MTManagedThread *thread) REQUIRES(threadLock_); 286 MTManagedThread *GetThreadByInternalThreadIdWithLockHeld(uint32_t threadId) REQUIRES(threadLock_);
|
H A D | thread_pool.h | 318 bool IsActive(int i) REQUIRES(queueLock_) in REQUIRES() function in ark::ThreadPool 323 void WaitForWorkers() REQUIRES(scaleLock_) in REQUIRES() function in ark::ThreadPool 339 void StopWorker(std::thread *worker, size_t threadId = 0) REQUIRES(scaleLock_) in REQUIRES() function in ark::ThreadPool 353 void CreateNewThread(int i) REQUIRES(scaleLock_) in REQUIRES() function in ark::ThreadPool
|
H A D | cha.cpp | 110 void ClassHierarchyAnalysis::InvalidateMethod(Method *method, PandaSet<Method *> *dependentMethods) REQUIRES(GetLock()) in GetLock()
|
H A D | mt_thread_manager.cpp | 183 void MTThreadManager::StopDaemonThreads() REQUIRES(threadLock_) in REQUIRES() function
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_taskpool.h | 116 size_t DecrementTaskCounter(EtsLong id, PandaUnorderedMap<EtsLong, size_t> &tasks) REQUIRES(taskpoolLock_); 130 PandaUnorderedSet<EtsLong> &idsToBeCanceled) REQUIRES(taskpoolLock_); 143 PandaUnorderedSet<EtsLong> &idsToBeCanceled) REQUIRES(taskpoolLock_);
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | mtmanaged_thread.h | 125 bool IsInterruptedWithLockHeld() const REQUIRES(condLock_) in REQUIRES() function in ark::MTManagedThread 178 void WaitWithLockHeld(ThreadStatus waitStatus) REQUIRES(condLock_) in REQUIRES() function in ark::MTManagedThread 213 REQUIRES(condLock_) in REQUIRES() function in ark::MTManagedThread 331 void WaitWithLockHeldInternal() REQUIRES(condLock_) in REQUIRES() function in ark::MTManagedThread 337 bool TimedWaitWithLockHeldInternal(uint64_t timeout, uint64_t nanos, bool isAbsolute = false) REQUIRES(condLock_) in REQUIRES() function in ark::MTManagedThread 343 void SignalWithLockHeld() REQUIRES(condLock_) in REQUIRES() function in ark::MTManagedThread 348 void SetInterruptedWithLockHeld(bool interrupted) REQUIRES(condLock_) in REQUIRES() function in ark::MTManagedThread
|
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/ |
H A D | task_scheduler.h | 220 [[nodiscard]] std::optional<Task> GetNextTask() REQUIRES(popFromTaskQueuesLock_); 254 void PutWaitTaskInLocalQueue(LocalTaskQueue &queue) REQUIRES(taskSchedulerStateLock_); 262 bool WaitUntilNewTasks() REQUIRES(taskSchedulerStateLock_);
|
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/ |
H A D | test_util.h | 71 auto predicate = [&location]() REQUIRES(eventMutex_) { return lastEventLocation_ == location; }; in WaitForBreakpoint() 72 auto onSuccess = [&stoppedThread]() REQUIRES(eventMutex_) { in WaitForBreakpoint() 86 DebugEvent::VM_DEATH, []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::VM_DEATH; }, [] {}); in WaitForExit() 92 DebugEvent::VM_INITIALIZATION, []() REQUIRES(eventMutex_) { return initialized_; }, [] {}); in WaitForInit()
|
/arkcompiler/runtime_core/static_core/runtime/coroutines/ |
H A D | stackful_coroutine_worker.h | 151 void WaitForRunnables() REQUIRES(runnablesLock_); 178 void UpdateLoadFactor() REQUIRES(runnablesLock_);
|
H A D | threaded_coroutine_manager.h | 90 void UnblockWaitersImpl(CoroutineEvent *blocker) REQUIRES(coroSwitchLock_); 102 void RemoveFromRegistry(Coroutine *co) REQUIRES(coroListLock_);
|
H A D | stackful_coroutine_manager.h | 131 void CreateWorkers(size_t howMany, Runtime *runtime, PandaVM *vm) REQUIRES(workersLock_); 135 void RemoveFromRegistry(Coroutine *co) REQUIRES(coroListLock_);
|
H A D | coroutine_events.h | 51 bool Happened() REQUIRES(this) in REQUIRES() function
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
H A D | debuggable_thread.h | 132 ObjectHeader *exception) REQUIRES(mutex_); 135 void Resume() REQUIRES(mutex_);
|
H A D | debug_info_cache.h | 79 panda_file::File::EntityId methodId, H &&handler) REQUIRES(debugInfosMutex_) in REQUIRES() function in ark::tooling::inspector::final
|
/arkcompiler/runtime_core/libpandabase/ |
H A D | clang.h | 55 #define REQUIRES(...) THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__)) macro
|
/arkcompiler/runtime_core/static_core/libpandabase/ |
H A D | clang.h | 55 #define REQUIRES(...) THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__)) macro
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/ |
H A D | gc_workers_task_pool.h | 91 ALWAYS_INLINE void ResetTasks() REQUIRES(allSolvedTasksCondVarLock_) in REQUIRES() function in ark::mem::GCWorkersTaskPool
|
/arkcompiler/runtime_core/libpandabase/mem/ |
H A D | alloc_tracker.h | 201 void AllocArena() REQUIRES(mutex_); 202 uint32_t WriteStacks(std::ostream &out, std::map<uint32_t, uint32_t> *id_map) REQUIRES(mutex_);
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
H A D | alloc_tracker.h | 198 void AllocArena() REQUIRES(mutex_); 199 uint32_t WriteStacks(std::ostream &out, std::map<uint32_t, uint32_t> *idMap) REQUIRES(mutex_);
|
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
H A D | global_object_storage.h | 234 void EnsureCapacity() REQUIRES(mutex_) in REQUIRES() function in ark::mem::ark::mem::GlobalObjectStorage::ArrayStorage
|
/arkcompiler/runtime_core/static_core/runtime/mem/ |
H A D | region_allocator.h | 129 REQUIRES(regionLock_);
|