Definition at line 2562 of file dart_api_impl_test.cc.
◆ BackgroundGCTask()
dart::BackgroundGCTask::BackgroundGCTask |
( |
IsolateGroup * |
isolate_group, |
|
|
Monitor * |
monitor, |
|
|
bool * |
done |
|
) |
| |
|
inline |
Definition at line 2564 of file dart_api_impl_test.cc.
2565 : isolate_group_(isolate_group), monitor_(monitor), done_(
done) {}
static void done(const char *config, const char *src, const char *srcOptions, const char *name)
◆ Run()
virtual void dart::BackgroundGCTask::Run |
( |
| ) |
|
|
inlinevirtual |
Implements dart::ThreadPool::Task.
Definition at line 2566 of file dart_api_impl_test.cc.
2566 {
2567 const bool kBypassSafepoint = false;
2569 kBypassSafepoint);
2570 for (intptr_t
i = 0;
i < 10;
i++) {
2572 }
2574 {
2575 MonitorLocker ml(monitor_);
2576 *done_ = true;
2577 ml.Notify();
2578 }
2579 }
static void ExitIsolateGroupAsHelper(bool bypass_safepoint)
static bool EnterIsolateGroupAsHelper(IsolateGroup *isolate_group, TaskKind kind, bool bypass_safepoint)
static void CollectAllGarbage(Thread *thread, JSONStream *js)
The documentation for this class was generated from the following file: