From bc5794e0ee27a25ae73b8edd3d2ce6523c226fb9 Mon Sep 17 00:00:00 2001 From: ulan Date: Mon, 2 May 2016 06:04:27 -0700 Subject: [PATCH] Add trace event for phantom handle processing callback. BUG=chromium:608312 LOG=NO Review-Url: https://codereview.chromium.org/1934993002 Cr-Commit-Position: refs/heads/master@{#35933} --- src/global-handles.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global-handles.cc b/src/global-handles.cc index 951db93a17..8797895876 100644 --- a/src/global-handles.cc +++ b/src/global-handles.cc @@ -551,6 +551,7 @@ class GlobalHandles::PendingPhantomCallbacksSecondPassTask } void RunInternal() override { + TRACE_EVENT0("v8", "V8.GCPhantomHandleProcessingCallback"); isolate()->heap()->CallGCPrologueCallbacks( GCType::kGCTypeProcessWeakCallbacks, kNoGCCallbackFlags); InvokeSecondPassPhantomCallbacks(&pending_phantom_callbacks_, isolate());