• Home
  • Raw
  • Download

Lines Matching full:work

174     uv_work_t *work = new(std::nothrow) uv_work_t;  in DumpHeapSnapshotWithVm()  local
175 if (work == nullptr) { in DumpHeapSnapshotWithVm()
176 LOG_ECMA(ERROR) << "work nullptr"; in DumpHeapSnapshotWithVm()
180 work->data = static_cast<void *>(dumpStruct); in DumpHeapSnapshotWithVm()
185 ret = uv_queue_work(loop, work, [](uv_work_t *) {}, [](uv_work_t *work, int32_t) { in DumpHeapSnapshotWithVm() argument
186 … struct DumpForSnapShotStruct *dump = static_cast<struct DumpForSnapShotStruct *>(work->data); in DumpHeapSnapshotWithVm()
191 delete work; in DumpHeapSnapshotWithVm()
195 delete work; in DumpHeapSnapshotWithVm()
209 delete work; in DumpHeapSnapshotWithVm()
266 uv_work_t *work = new(std::nothrow) uv_work_t; in TriggerSharedGCWithVm() local
267 if (work == nullptr) { in TriggerSharedGCWithVm()
268 LOG_ECMA(FATAL) << "DFXJSNApi::TriggerGCWithVm:work is nullptr"; in TriggerSharedGCWithVm()
271 work->data = static_cast<void *>(const_cast<EcmaVM *>(vm)); in TriggerSharedGCWithVm()
272 int ret = uv_queue_work(loop, work, [](uv_work_t *) {}, [](uv_work_t *work, int32_t) { in TriggerSharedGCWithVm() argument
273 EcmaVM *vm = static_cast<EcmaVM *>(work->data); in TriggerSharedGCWithVm()
278 delete work; in TriggerSharedGCWithVm()
282 delete work; in TriggerSharedGCWithVm()
301 uv_work_t *work = new(std::nothrow) uv_work_t; in TriggerGCWithVm() local
302 if (work == nullptr) { in TriggerGCWithVm()
303 LOG_ECMA(FATAL) << "DFXJSNApi::TriggerGCWithVm:work is nullptr"; in TriggerGCWithVm()
306 work->data = static_cast<void *>(const_cast<EcmaVM *>(vm)); in TriggerGCWithVm()
307 int ret = uv_queue_work(loop, work, [](uv_work_t *) {}, [](uv_work_t *work, int32_t) { in TriggerGCWithVm() argument
308 EcmaVM *vm = static_cast<EcmaVM *>(work->data); in TriggerGCWithVm()
311 delete work; in TriggerGCWithVm()
315 delete work; in TriggerGCWithVm()