Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::FinalizeWeakPersistentHandlesVisitor Class Reference
Inheritance diagram for dart::FinalizeWeakPersistentHandlesVisitor:
dart::HandleVisitor

Public Member Functions

 FinalizeWeakPersistentHandlesVisitor (IsolateGroup *isolate_group)
 
void VisitHandle (uword addr) override
 
- Public Member Functions inherited from dart::HandleVisitor
 HandleVisitor (Thread *thread)
 
virtual ~HandleVisitor ()
 
Threadthread () const
 
virtual void VisitHandle (uword addr)=0
 

Detailed Description

Definition at line 262 of file isolate.cc.

Constructor & Destructor Documentation

◆ FinalizeWeakPersistentHandlesVisitor()

dart::FinalizeWeakPersistentHandlesVisitor::FinalizeWeakPersistentHandlesVisitor ( IsolateGroup isolate_group)
inlineexplicit

Definition at line 264 of file isolate.cc.

265 : HandleVisitor(Thread::Current()), isolate_group_(isolate_group) {}
HandleVisitor(Thread *thread)
static Thread * Current()
Definition: thread.h:362

Member Function Documentation

◆ VisitHandle()

void dart::FinalizeWeakPersistentHandlesVisitor::VisitHandle ( uword  addr)
inlineoverridevirtual

Implements dart::HandleVisitor.

Definition at line 267 of file isolate.cc.

267 {
268 auto handle = reinterpret_cast<FinalizablePersistentHandle*>(addr);
269 handle->UpdateUnreachable(isolate_group_);
270 }

The documentation for this class was generated from the following file: