Home
last modified time | relevance | path

Searched refs:async_gc (Results 1 – 1 of 1) sorted by relevance

/third_party/node/deps/v8/src/inspector/
Dv8-heap-profiler-agent-impl.cc161 GCTask(v8::Isolate* isolate, std::shared_ptr<AsyncGC> async_gc) in GCTask() argument
162 : m_isolate(isolate), m_async_gc(async_gc) {} in GCTask()
165 std::shared_ptr<AsyncGC> async_gc = m_async_gc.lock(); in Run() local
166 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()