Definition at line 525 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 534 of file safepoint_test.cc.
534{
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 536 of file safepoint_test.cc.
536 {
538
541 const auto us = random.NextUInt32() % 3;
542 switch (random.NextUInt32() % 5) {
543 case 0: {
544 DeoptSafepointOperationScope safepoint_op(
thread_);
546 break;
547 }
548 case 1: {
549 GcSafepointOperationScope safepoint_op(
thread_);
551 break;
552 }
553 case 2: {
554 const bool kBypassSafepoint = false;
560 break;
561 }
562 case 3: {
566 break;
567 }
568 case 4: {
571 }
572 break;
573 }
574 }
575 }
576 }
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: