Lines Matching refs:microtask
5 #include "src/execution/microtask-queue.h"
14 #include "src/objects/microtask-inl.h"
74 Microtask microtask = Microtask::cast(Object(raw_microtask));
76 ->EnqueueMicrotask(microtask);
84 Handle<CallableTask> microtask = isolate->factory()->NewCallableTask(
86 EnqueueMicrotask(*microtask);
94 Handle<CallbackTask> microtask = isolate->factory()->NewCallbackTask(
97 EnqueueMicrotask(*microtask);
100 void MicrotaskQueue::EnqueueMicrotask(Microtask microtask) {
109 ring_buffer_[(start_ + size_) % capacity_] = microtask.ptr();
117 // If we're using microtask scopes to schedule microtask execution, V8
118 // API calls will check that there's always a microtask scope on the
121 // microtask scope here to avoid running into the CallDepthScope check.
256 Object microtask(ring_buffer_[(index + start_) % capacity_]);
257 return Microtask::cast(microtask);