/ark/runtime_core/runtime/ |
D | object_accessor-impl.cpp | 36 return Thread::GetCurrent()->GetVM()->GetGC()->GetBarrierSet(); in GetBarrierSet() 47 return thread->GetVM()->GetGC()->GetBarrierSet(); in GetBarrierSet()
|
D | thread.cpp | 44 internal_id_ = GetVM()->GetThreadManager()->GetInternalThreadId(); in GetInternalId() 122 mem::HeapManager *heap_manager = thread->GetVM()->GetHeapManager(); in GetInternalAllocator() 159 GetVM()->GetHeapManager()->RegisterTLAB(GetTLAB()); in ~ManagedThread() 178 internal_id_ = GetVM()->GetThreadManager()->GetInternalThreadId(); in MTManagedThread() 209 GetVM()->GetThreadManager()->RemoveInternalThreadId(internal_id_); in ~MTManagedThread() 324 ASSERT(!ManagedThread::GetCurrent()->GetVM()->GetGC()->IsGCRunning() || in PushLocalObject() 333 ASSERT(!ManagedThread::GetCurrent()->GetVM()->GetGC()->IsGCRunning() || in PopLocalObject() 416 GetVM()->GetThreadManager()->RegisterThread(this); in ProcessCreatedThread() 485 GetVM()->GetThreadManager()->AddDaemonThread(); in SetDaemon() 600 if (GetVM()->GetThreadManager()->UnregisterExitedThread(this)) { in Destroy() [all …]
|
D | monitor.cpp | 113 PandaVM *vm = thread->GetVM(); in MonitorEnter() 196 … owner = thread->GetVM()->GetThreadManager()->SuspendAndWaitThreadByInternalThreadId( in MonitorEnter() 281 PandaVM *vm = thread->GetVM(); in MonitorExit() 340 PandaVM *vm = thread->GetVM(); in Wait() 452 auto monitor = MonitorPool::LookupMonitor(thread->GetVM(), mark.GetMonitorId()); in Notify() 500 auto monitor = MonitorPool::LookupMonitor(thread->GetVM(), mark.GetMonitorId()); in NotifyAll() 694 monitor = MonitorPool::CreateMonitor(thread->GetVM(), obj); in Acquire() 705 MonitorPool::FreeMonitor(thread->GetVM(), monitor->GetId()); in Acquire() 738 MonitorPool::FreeMonitor(thread->GetVM(), monitor->GetId()); in Acquire() 758 PandaVM *vm = Thread::GetCurrent()->GetVM(); in Acquire() [all …]
|
D | object_header.cpp | 43 mem::HeapManager *heap_manager = Thread::GetCurrent()->GetVM()->GetHeapManager(); in CreateObject() 110 … auto monitor_p = MonitorPool::LookupMonitor(Thread::GetCurrent()->GetVM(), monitor_id); in GetHashCode() 140 mem::HeapManager *heap_manager = thread->GetVM()->GetHeapManager(); in ShallowCopy() 177 auto *barrier_set = thread->GetVM()->GetGC()->GetBarrierSet(); in ShallowCopy()
|
D | dyn_class_linker_extension.cpp | 163 auto vm = Thread::GetCurrent()->GetVM(); in CreateClass()
|
D | method.cpp | 634 …ASSERT(!ManagedThread::GetCurrent()->GetVM()->GetGC()->IsGCRunning() || Locks::mutator_lock->HasLo… in StartProfiling() 679 …ASSERT(!ManagedThread::GetCurrent()->GetVM()->GetGC()->IsGCRunning() || Locks::mutator_lock->HasLo… in StopProfiling()
|
/ark/runtime_core/runtime/tests/ |
D | pygote_space_allocator_test_base.h | 42 …return thread_->GetVM()->GetHeapManager()->GetObjectAllocator().AsObjectAllocator()->GetPygoteSpac… in GetPygoteSpaceAllocator() 63 auto gc = thread_->GetVM()->GetGC(); in TriggerGc() 128 auto global_object_storage = thread_->GetVM()->GetGlobalObjectStorage(); in NonMovableLiveObjectAllocTest() 156 auto global_object_storage = thread_->GetVM()->GetGlobalObjectStorage(); in NonMovableUnliveObjectAllocTest() 181 auto global_object_storage = thread_->GetVM()->GetGlobalObjectStorage(); in MovableLiveObjectAllocTest() 204 auto global_object_storage = thread_->GetVM()->GetGlobalObjectStorage(); in MovableUnliveObjectAllocTest() 228 auto global_object_storage = thread_->GetVM()->GetGlobalObjectStorage(); in MuchObjectAllocTest()
|
D | mem_stats_test.cpp | 161 auto *stats = thread_->GetVM()->GetMemStats(); in TEST_F() 187 mem::MemStatsType *stats = thread_->GetVM()->GetMemStats(); in TEST_F() 213 mem::MemStatsType *stats = thread_->GetVM()->GetMemStats(); in TEST_F() 238 mem::MemStatsType *stats = thread_->GetVM()->GetMemStats(); in TEST_F() 248 thread_->GetVM()->GetGC()->WaitForGCInManaged(GCTask(GCTaskCause::EXPLICIT_CAUSE)); in TEST_F() 260 mem::MemStatsType *stats = thread_->GetVM()->GetMemStats(); in TEST_F() 265 …auto object_allocator = thread_->GetVM()->GetHeapManager()->GetObjectAllocator().AsObjectAllocator… in TEST_F() 275 thread_->GetVM()->GetGC()->WaitForGCInManaged(GCTask(GCTaskCause::EXPLICIT_CAUSE)); in TEST_F() 288 mem::MemStatsType *stats = thread_->GetVM()->GetMemStats(); in TEST_F() 293 …auto object_allocator = thread_->GetVM()->GetHeapManager()->GetObjectAllocator().AsObjectAllocator… in TEST_F() [all …]
|
D | mem_stats_gc_test.cpp | 63 mem::MemStatsType *stats = thread_->GetVM()->GetMemStats(); in MemStatsTest() 75 …auto object_allocator = thread_->GetVM()->GetHeapManager()->GetObjectAllocator().AsObjectAllocator… in MemStatsTest() 76 thread_->GetVM()->GetGC()->WaitForGCInManaged(GCTask(GCTaskCause::EXPLICIT_CAUSE)); in MemStatsTest() 112 thread_->GetVM()->GetGC()->WaitForGCInManaged(GCTask(GCTaskCause::EXPLICIT_CAUSE)); in MemStatsTest()
|
D | mem_stats_additional_info_test.cpp | 64 …interpret_cast<const uint8_t *>(&simple_string[0]), simple_string.length(), ctx, thread_->GetVM()); in TEST_F() 83 PandaVM *vm = thread_->GetVM(); in TEST_F() 92 auto statistics = thread_->GetVM()->GetMemStats()->GetStatistics(vm->GetHeapManager()); in TEST_F()
|
D | string_table_test.cpp | 136 auto table = thread_->GetVM()->GetStringTable(); in TEST_F() 154 … thread_->GetVM()->GetGC()->WaitForGCInManaged(panda::GCTask(panda::GCTaskCause::EXPLICIT_CAUSE)); in TEST_F()
|
D | class_linker_test_extension.h | 79 auto vm = thread_->GetVM(); in CreateClass()
|
D | monitor_test.cpp | 244 thread_->GetVM()->GetGC()->WaitForGCInManaged(GCTask(GCTaskCause::EXPLICIT_CAUSE)); in TEST_F() 248 thread_->GetVM()->GetGC()->WaitForGCInManaged(GCTask(GCTaskCause::EXPLICIT_CAUSE)); in TEST_F()
|
D | card_table_test.cpp | 57 internal_allocator_ = thread_->GetVM()->GetHeapManager()->GetInternalAllocator(); in CardTableTest()
|
D | class_linker_test.cpp | 69 auto allocator = thread->GetVM()->GetHeapManager()->GetInternalAllocator(); in CreateClassLinker()
|
/ark/runtime_core/runtime/mem/ |
D | rendezvous.cpp | 30 Thread::GetCurrent()->GetVM()->GetThreadManager()->SuspendAllThreads(); in SafepointBegin() 42 Thread::GetCurrent()->GetVM()->GetThreadManager()->ResumeAllThreads(); in SafepointEnd()
|
D | allocator.cpp | 487 Thread::GetCurrent()->GetVM()->GetThreadManager()->EnumerateThreads( in ResetYoungAllocator()
|
/ark/js_runtime/ecmascript/ |
D | js_thread.cpp | 62 EcmaVM::Cast(GetVM())->GetChunk()->Delete(globalStorage_); in ~JSThread() 80 return EcmaVM::Cast(GetVM()); in GetEcmaVM() 266 EcmaVM::Cast(GetVM())->CollectGarbage(TriggerGCType::FULL_GC); in CheckSafepoint() 270 auto heap = EcmaVM::Cast(GetVM())->GetHeap(); in CheckSafepoint()
|
/ark/runtime_core/runtime/tests/interpreter/ |
D | test_runtime_interface.h | 367 auto allocator = Thread::GetCurrent()->GetVM()->GetHeapManager()->GetInternalAllocator(); in CreateFrame() 381 auto allocator = Thread::GetCurrent()->GetVM()->GetHeapManager()->GetInternalAllocator(); in CreateFrameWithActualArgs() 392 auto allocator = Thread::GetCurrent()->GetVM()->GetHeapManager()->GetInternalAllocator(); in FreeFrame()
|
/ark/runtime_core/runtime/include/ |
D | panda_vm.h | 50 return Thread::GetCurrent()->GetVM(); in GetCurrent()
|
D | thread.h | 163 PandaVM *GetVM() const in GetVM() function
|
/ark/runtime_core/runtime/entrypoints/ |
D | entrypoints.cpp | 119 …Frame *mem = Thread::GetCurrent()->GetVM()->GetHeapManager()->AllocateFrame(panda::Frame::GetSize(… in CreateFrame()
|
/ark/runtime_core/runtime/mem/gc/ |
D | gc_trigger.cpp | 63 GC *gc = Thread::GetCurrent()->GetVM()->GetGC(); in ComputeNewTargetFootprint()
|
/ark/runtime_core/runtime/core/ |
D | core_vm.cpp | 235 …s::Array *arg_array = CreateArgumentsArray(args, ctx, runtime_->GetClassLinker(), thread->GetVM()); in InvokeEntrypointImpl()
|
D | core_class_linker_extension.cpp | 305 auto vm = Thread::GetCurrent()->GetVM(); in CreateClass()
|