Definition at line 511 of file safepoint_test.cc.
◆ State
◆ StressTask()
dart::StressTask::StressTask |
( |
std::shared_ptr< Data > |
data | ) |
|
|
inlineexplicit |
◆ data()
Data * dart::StressTask::data |
( |
| ) |
|
|
inlineprotected |
Definition at line 520 of file safepoint_test.cc.
520{
return reinterpret_cast<Data*
>(
data_.get()); }
std::shared_ptr< Data > data_
struct PathData * Data(SkPath *path)
◆ RunInternal()
virtual void dart::StressTask::RunInternal |
( |
| ) |
|
|
inlineprotectedvirtual |
Implements dart::StateMachineTask.
Definition at line 522 of file safepoint_test.cc.
522 {
524
527 const auto us = random.NextUInt32() % 3;
528 switch (random.NextUInt32() % 5) {
529 case 0: {
530 DeoptSafepointOperationScope safepoint_op(
thread_);
532 break;
533 }
534 case 1: {
535 GcSafepointOperationScope safepoint_op(
thread_);
537 break;
538 }
539 case 2: {
540 const bool kBypassSafepoint = false;
546 break;
547 }
548 case 3: {
552 break;
553 }
554 case 4: {
557 }
558 break;
559 }
560 }
561 }
562 }
static void SleepMicros(int64_t micros)
static Thread * Current()
bool IsSafepointRequested() const
static void ExitIsolateGroupAsHelper(bool bypass_safepoint)
IsolateGroup * isolate_group() const
static bool EnterIsolateGroupAsHelper(IsolateGroup *isolate_group, TaskKind kind, bool bypass_safepoint)
The documentation for this class was generated from the following file: