Definition at line 904 of file thread_test.cc.
◆ AllocateGlobsOfMemoryTask()
dart::AllocateGlobsOfMemoryTask::AllocateGlobsOfMemoryTask |
( |
IsolateGroup * |
isolate_group, |
|
|
Monitor * |
done_monitor, |
|
|
bool * |
done |
|
) |
| |
|
inline |
Definition at line 906 of file thread_test.cc.
909 : isolate_group_(isolate_group),
910 done_monitor_(done_monitor),
static void done(const char *config, const char *src, const char *srcOptions, const char *name)
◆ Run()
virtual void dart::AllocateGlobsOfMemoryTask::Run |
( |
| ) |
|
|
inlinevirtual |
Implements dart::ThreadPool::Task.
Definition at line 913 of file thread_test.cc.
913 {
914 const bool kBypassSafepoint = false;
916 kBypassSafepoint);
917 {
919 StackZone stack_zone(thread);
920 Zone* zone = stack_zone.GetZone();
921 int count = 100 * 1000;
922 while (
count-- > 0) {
924 }
925 }
927
928 {
929 MonitorLocker ml(done_monitor_);
931 *done_ = true;
932 ml.Notify();
933 }
934 }
static StringPtr New(const char *cstr, Heap::Space space=Heap::kNew)
static Thread * Current()
static void ExitIsolateGroupAsHelper(bool bypass_safepoint)
static bool EnterIsolateGroupAsHelper(IsolateGroup *isolate_group, TaskKind kind, bool bypass_safepoint)
The documentation for this class was generated from the following file: