5#ifndef RUNTIME_VM_THREAD_REGISTRY_H_
6#define RUNTIME_VM_THREAD_REGISTRY_H_
27 active_list_(nullptr),
29 active_isolates_count_(0) {}
52 Thread* active_list()
const {
return active_list_; }
54 Thread* GetFreeThreadLocked(
bool is_vm_isolate);
55 void ReturnThreadLocked(
Thread* thread);
56 void AddToActiveListLocked(
Thread* thread);
57 void RemoveFromActiveListLocked(
Thread* thread);
58 Thread* GetFromFreelistLocked(
bool is_vm_isolate);
59 void ReturnToFreelistLocked(
Thread* thread);
T load(std::memory_order order=std::memory_order_relaxed) const
void ReleaseStoreBuffers()
void FlushMarkingStacks()
intptr_t active_isolates_count()
void VisitObjectPointers(IsolateGroup *isolate_group_of_interest, ObjectPointerVisitor *visitor, ValidationPolicy validate_frames)
void PrintJSON(JSONStream *stream) const
Monitor * threads_lock() const
void AcquireMarkingStacks()
void ReleaseMarkingStacks()
void ForEachThread(std::function< void(Thread *thread)> callback)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function