Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Protected Member Functions | List of all members
dart::DeoptTask Class Reference
Inheritance diagram for dart::DeoptTask:
dart::StateMachineTask dart::ThreadPool::Task dart::IntrusiveDListEntry< Task >

Public Types

enum  State { kStartDeoptOperation = StateMachineTask::kNext , kFinishedDeoptOperation }
 
- Public Types inherited from dart::StateMachineTask
enum  State {
  kInitialized = 0 , kEntered , kPleaseExit , kExited ,
  kNext
}
 

Public Member Functions

 DeoptTask (std::shared_ptr< Data > data)
 
- Public Member Functions inherited from dart::StateMachineTask
 StateMachineTask (std::shared_ptr< Data > data)
 
virtual void Run ()
 
- Public Member Functions inherited from dart::ThreadPool::Task
virtual ~Task ()
 
virtual void Run ()=0
 
- Public Member Functions inherited from dart::IntrusiveDListEntry< Task >
 IntrusiveDListEntry ()
 
 ~IntrusiveDListEntry ()
 

Protected Member Functions

virtual void RunInternal ()
 
virtual void RunInternal ()=0
 
- Protected Member Functions inherited from dart::ThreadPool::Task
 Task ()
 

Additional Inherited Members

- Protected Attributes inherited from dart::StateMachineTask
std::shared_ptr< Datadata_
 
Threadthread_ = nullptr
 

Detailed Description

Definition at line 90 of file safepoint_test.cc.

Member Enumeration Documentation

◆ State

Enumerator
kStartDeoptOperation 
kFinishedDeoptOperation 

Definition at line 92 of file safepoint_test.cc.

Constructor & Destructor Documentation

◆ DeoptTask()

dart::DeoptTask::DeoptTask ( std::shared_ptr< Data data)
inlineexplicit

Definition at line 97 of file safepoint_test.cc.

98 : StateMachineTask(std::move(data)) {}
StateMachineTask(std::shared_ptr< Data > data)
static int8_t data[kExtLength]

Member Function Documentation

◆ RunInternal()

virtual void dart::DeoptTask::RunInternal ( )
inlineprotectedvirtual

Implements dart::StateMachineTask.

Definition at line 101 of file safepoint_test.cc.

101 {
102 data_->WaitUntil(kStartDeoptOperation);
103 {
104 DeoptSafepointOperationScope safepoint_operation(thread_);
105 }
106 data_->MarkAndNotify(kFinishedDeoptOperation);
107 }
std::shared_ptr< Data > data_

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