Definition at line 293 of file safepoint_test.cc.
◆ State
◆ CheckinTask()
dart::CheckinTask::CheckinTask |
( |
std::shared_ptr< Data > |
data | ) |
|
|
inlineexplicit |
◆ data()
Data * dart::CheckinTask::data |
( |
| ) |
|
|
inlineprotected |
Definition at line 323 of file safepoint_test.cc.
323{
return reinterpret_cast<Data*
>(
data_.get()); }
std::shared_ptr< Data > data_
struct PathData * Data(SkPath *path)
◆ RunInternal()
virtual void dart::CheckinTask::RunInternal |
( |
| ) |
|
|
inlineprotectedvirtual |
Implements dart::StateMachineTask.
Definition at line 325 of file safepoint_test.cc.
325 {
327
333
334 RuntimeCallDeoptScope no_deopt(
338 }
339 break;
340 }
342
345 }
346 break;
347 }
349
353 }
354 break;
355 }
359 }
360
361
362
363
364
365
366
367
368
370 if ((now - last_sync) > 1000) {
373 last_sync = now;
374 }
375 }
376 }
377 }
bool SafepointIfRequested(Thread *thread, std::atomic< intptr_t > *checkins)
static void SleepMicros(int64_t micros)
static int64_t GetCurrentTimeMillis()
static Thread * Current()
AsThreadStackResource< RawReloadParticipationScope > ReloadParticipationScope
◆ SafepointIfRequested()
bool dart::CheckinTask::SafepointIfRequested |
( |
Thread * |
thread, |
|
|
std::atomic< intptr_t > * |
checkins |
|
) |
| |
|
inlineprotected |
Definition at line 379 of file safepoint_test.cc.
379 {
380 if (thread->IsSafepointRequested()) {
381
382 thread->BlockForSafepoint();
383 (*checkins)++;
384 return true;
385 }
386 return false;
387 }
The documentation for this class was generated from the following file: