| /arkcompiler/ets_frontend/test/scripts/sdk_test/ |
| D | execution.py | 37 def validate_module_name_change(task, inc_task, is_debug, stdout, stderr, new_module_name): argument 104 def validate_compile_incremental_file(task, inc_task, is_debug, modified_files): argument 159 def prepare_incremental_task(task, test_name): argument 169 def compile_incremental_no_modify(task, is_debug): argument 181 def compile_incremental_add_oneline(task, is_debug): argument 205 def compile_incremental_add_file(task, is_debug): argument 251 def compile_incremental_delete_file(task, is_debug): argument 267 def compile_incremental_reverse_hap_mode(task, is_debug): argument 277 def compile_incremental_modify_module_name(task, is_debug): argument 351 def verify_binary_consistency(task): argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/taskpool/ |
| D | task_queue.cpp | 19 void TaskQueue::PostTask(std::unique_ptr<Task> task) in PostTask() 32 std::unique_ptr<Task> task = std::move(tasks_.front()); in PopTask() local 47 for (auto &task : tasks_) { in TerminateTask() local
|
| D | runner.cpp | 89 void Runner::SetRunTask(uint32_t threadId, Task *task) in SetRunTask() 100 while (std::unique_ptr<Task> task = taskQueue_.PopTask()) { in Run() local
|
| /arkcompiler/runtime_core/static_core/libpandabase/taskmanager/ |
| D | worker_thread.cpp | 28 void WorkerThread::AddTask(Task &&task) in AddTask() 47 auto task = std::move(queue->front()); in PopTask() local 79 auto task = PopTask(); in ExecuteTasks() local
|
| D | task_queue.h | 72 PANDA_PUBLIC_API size_t AddTask(Task &&task) override in AddTask() 108 auto task = PopTaskFromInternalQueues(); in PopTask() local 134 auto task = PopTaskFromQueue(*queue); in PopTask() local 243 void PushTaskToInternalQueues(Task &&task) REQUIRES(taskQueueStateLock_) in PushTaskToInternalQueues() 262 auto task = std::move(queue.front()); in PopTaskFromQueue() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
| D | mpl_scheduler.cpp | 51 void MplScheduler::AddTask(MplTask &task) in AddTask() 61 MplTask *task = nullptr; in GetTaskToRun() local 84 MplTask *task = nullptr; in GetTaskFinishFirst() local 136 int MplScheduler::FinishTask(const MplTask &task) in FinishTask() 171 MplTask *task = GetTaskToRun(); in ThreadMain() local 228 MplTask *task = nullptr; in ThreadFinish() local
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
| D | gc_trigger.cpp | 87 void GCTriggerHeap::ComputeNewTargetFootprint(const GCTask &task, size_t heapSizeBeforeGc, size_t h… in ComputeNewTargetFootprint() 133 …auto task = MakePandaUnique<GCTask>(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE, time::GetCurrentTimeI… in TriggerGcIfNeeded() local 249 void GCTriggerHeap::GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSize) in GCStarted() 254 void GCTriggerHeap::GCFinished(const GCTask &task, size_t heapSizeBeforeGc, size_t heapSize) in GCFinished() 272 …auto task = MakePandaUnique<GCTask>(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE, time::GetCurrentTimeI… in TriggerGcIfNeeded() local 278 void GCTriggerDebug::GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSiz… in GCStarted() 283 void GCTriggerDebug::GCFinished([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSi… in GCFinished() 295 void GCTriggerHeapOccupancy::GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t… in GCStarted() 300 void GCTriggerHeapOccupancy::GCFinished([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_… in GCFinished() 315 …auto task = MakePandaUnique<GCTask>(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE, time::GetCurrentTimeI… in TriggerGcIfNeeded() local [all …]
|
| D | gc_queue.cpp | 41 GCTask *task = queue_.top().get(); in GetTask() local 58 bool GCQueueWithTime::AddTask(PandaUniquePtr<GCTask> task) in AddTask()
|
| D | generational-gc-base.cpp | 24 bool GenerationalGC<LanguageConfig>::ShouldRunTenuredGC(const GCTask &task) in ShouldRunTenuredGC() 102 bool GenerationalGC<LanguageConfig>::Trigger(PandaUniquePtr<GCTask> task) in Trigger()
|
| D | gc.cpp | 154 …auto task = MakePandaUnique<GCTask>(GCTaskCause::NATIVE_ALLOC_CAUSE, time::GetCurrentTimeInNanos()… in TriggerGCForNative() local 298 void GC::RunPhases(GCTask &task) in RunPhases() 446 void GC::ProcessReferences(GCPhase gcPhase, const GCTask &task, const ReferenceClearPredicateT &pre… in ProcessReferences() 537 auto task = MakePandaUnique<PostForkGCTask>(GCTaskCause::STARTUP_COMPLETE_CAUSE, in PreStartup() local 545 bool GC::AddGCTask(bool isManaged, PandaUniquePtr<GCTask> task) in AddGCTask() 653 bool GC::WaitForGC(GCTask task) in WaitForGC() 684 bool GC::WaitForGCInManaged(const GCTask &task) in WaitForGCInManaged() 745 void GC::WaitForGCOnPygoteFork(const GCTask &task) in WaitForGCOnPygoteFork() 929 void GC::FireGCStarted(const GCTask &task, size_t bytesInHeapBeforeGc) in FireGCStarted() 936 void GC::FireGCFinished(const GCTask &task, size_t bytesInHeapBeforeGc, size_t bytesInHeapAfterGc) in FireGCFinished()
|
| D | gc_trigger.h | 259 … void GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSize) override {} in GCStarted() 260 void GCFinished([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSizeBeforeGc, in GCFinished() 283 … void GCStarted([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSize) override {} in GCStarted() 284 void GCFinished([[maybe_unused]] const GCTask &task, [[maybe_unused]] size_t heapSizeBeforeGc, in GCFinished()
|
| /arkcompiler/runtime_core/static_core/runtime/scheduler/ |
| D | task.cpp | 33 auto *task = allocator->New<Task>(vm, obj); in Create() local 64 auto task = Task::GetCurrent(); in SuspendCurrent() local 73 auto task = Task::GetCurrent(); in EndCurrent() local
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/epsilon/ |
| D | epsilon.cpp | 41 void EpsilonGC<LanguageConfig>::RunPhasesImpl([[maybe_unused]] GCTask &task) in RunPhasesImpl() 49 bool EpsilonGC<LanguageConfig>::WaitForGC([[maybe_unused]] GCTask task) in WaitForGC() 66 bool EpsilonGC<LanguageConfig>::Trigger([[maybe_unused]] PandaUniquePtr<GCTask> task) in Trigger()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/epsilon-g1/ |
| D | epsilon-g1.cpp | 79 void EpsilonG1GC<LanguageConfig>::RunPhasesImpl([[maybe_unused]] GCTask &task) in RunPhasesImpl() 86 bool EpsilonG1GC<LanguageConfig>::WaitForGC([[maybe_unused]] GCTask task) in WaitForGC() 97 bool EpsilonG1GC<LanguageConfig>::Trigger([[maybe_unused]] PandaUniquePtr<GCTask> task) in Trigger()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | explicit_gc_test.cpp | 104 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local 120 GCTask task(GCTaskCause::HEAP_USAGE_THRESHOLD_CAUSE); in TEST_F() local 130 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local 158 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local 186 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local 214 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local
|
| D | gc_log_test.cpp | 93 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in CounterLogTest() local 121 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in FullLogTest() local 191 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in TEST_F() local 232 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in TEST_F() local
|
| D | epsilon_gcs_test.cpp | 171 GCTask task(GCTaskCause::OOM_CAUSE); in TEST_F() local 181 GCTask task(GCTaskCause::EXPLICIT_CAUSE); in TEST_F() local 274 GCTask task(GCTaskCause::YOUNG_GC_CAUSE); in TEST_F() local 288 GCTask task(GCTaskCause::EXPLICIT_CAUSE); // run full GC in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/ |
| D | gc_workers_task_pool.cpp | 36 bool GCWorkersTaskPool::AddTask(GCWorkersTask &&task) in AddTask() 49 void GCWorkersTaskPool::RunGCWorkersTask(GCWorkersTask *task, void *workerData) in RunGCWorkersTask()
|
| D | gc_worker.cpp | 51 auto task = gcWorker->GetTask(); in GCThreadLoop() local 137 bool GCWorker::AddTask(PandaUniquePtr<GCTask> task) in AddTask() 163 void GCWorker::RunGC(PandaUniquePtr<GCTask> task) in RunGC()
|
| D | gc_workers_thread_pool.cpp | 35 bool GCWorkersProcessor::Process(GCWorkersTask &&task) in Process() 52 bool GCWorkersThreadPool::TryAddTask(GCWorkersTask &&task) in TryAddTask()
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | thread_pool.h | 175 Task task; in Help() local 195 bool TryPutTask(Task &&task) in TryPutTask() 212 bool PutTask(Task &&task) in PutTask() 260 Task task; in WorkerEntry() local
|
| D | compiler_task_manager_worker.cpp | 41 void CompilerTaskManagerWorker::AddTask(CompilerTask &&task) in AddTask() 67 auto taskDeleter = [this](CompilerTask *task) { internalAllocator_->Delete(task); }; in BackgroundCompileMethod()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/stw-gc/ |
| D | stw-gc.cpp | 61 void StwGC<LanguageConfig>::RunPhasesImpl(GCTask &task) in RunPhasesImpl() 77 void StwGC<LanguageConfig>::Mark(const GCTask &task) in Mark() 190 bool StwGC<LanguageConfig>::Trigger(PandaUniquePtr<GCTask> task) in Trigger() 196 void StwGC<LanguageConfig>::WorkerTaskProcessing(GCWorkersTask *task, [[maybe_unused]] void *worker… in WorkerTaskProcessing()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/taskmanager/ |
| D | task_test.cpp | 38 Task task = Task::Create({TaskType::GC, VMType::DYNAMIC_VM, TaskExecutionMode::BACKGROUND}, in TEST_F() local 124 auto task = queue->PopTask(); in TEST_F() local 151 auto task = queue->PopTask(); in TEST_F() local 187 auto task = queue->PopTask(); in TEST_F() local 223 auto task = queue->PopTask(); in TEST_F() local 261 auto task = queue->PopTask(TaskExecutionMode::FOREGROUND); in TEST_F() local
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler_encoder.cpp | 149 const SaveTask *task) in MergeWithExistProfile() 179 bool PGOProfilerEncoder::SaveAndRename(const SaveTask *task) in SaveAndRename() 230 bool PGOProfilerEncoder::InternalSave(const SaveTask *task) in InternalSave() 303 void PGOProfilerEncoder::StartSaveTask(const SaveTask *task) in StartSaveTask()
|