5#ifndef RUNTIME_VM_THREAD_STATE_H_
6#define RUNTIME_VM_THREAD_STATE_H_
59 return top_handle_scope_;
67 top_handle_scope_ = handle_scope;
75 Zone* zone_ =
nullptr;
76 StackResource* top_resource_ =
nullptr;
77 LongJumpScope* long_jump_base_ =
nullptr;
82 HandleScope* top_handle_scope_ =
nullptr;
bool is_os_thread() const
static ThreadState * CurrentVMThread()
bool ZoneIsOwnedByThread(Zone *zone) const
virtual bool MayAllocateHandles()=0
void set_top_handle_scope(HandleScope *handle_scope)
bool IsValidZoneHandle(Dart_Handle object) const
void set_os_thread(OSThread *os_thread)
bool IsValidScopedHandle(Dart_Handle object) const
HandleScope * top_handle_scope() const
void set_top_resource(StackResource *value)
static intptr_t top_resource_offset()
intptr_t CountScopedHandles() const
void set_long_jump_base(LongJumpScope *value)
LongJumpScope * long_jump_base() const
StackResource * top_resource() const
intptr_t CountZoneHandles() const
static ThreadState * Current()
OSThread * os_thread() const
struct _Dart_Handle * Dart_Handle
#define OFFSET_OF(type, field)