Searched refs:async_gc (Results 1 – 1 of 1) sorted by relevance
161 GCTask(v8::Isolate* isolate, std::shared_ptr<AsyncGC> async_gc) in GCTask() argument162 : m_isolate(isolate), m_async_gc(async_gc) {} in GCTask()165 std::shared_ptr<AsyncGC> async_gc = m_async_gc.lock(); in Run() local166 if (!async_gc) return; in Run()167 v8::base::MutexGuard lock(&async_gc->m_mutex); in Run()168 if (async_gc->m_canceled) return; in Run()171 for (auto& callback : async_gc->m_pending_callbacks) { in Run()174 async_gc->m_pending_callbacks.clear(); in Run()