From b6f1efd1db2c2a2dca28520d0ccfe168935ce172 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 24 Aug 2017 20:47:00 +0200 Subject: [PATCH] perf_hooks: fix presumed typo in node_perf.cc --- src/node_perf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_perf.cc b/src/node_perf.cc index 2398bb9b8fd6bb..a708877d5de46b 100644 --- a/src/node_perf.cc +++ b/src/node_perf.cc @@ -224,7 +224,7 @@ inline void MarkGarbageCollectionEnd(Isolate* isolate, inline void SetupGarbageCollectionTracking(Isolate* isolate) { isolate->AddGCPrologueCallback(MarkGarbageCollectionStart); - isolate->AddGCPrologueCallback(MarkGarbageCollectionEnd); + isolate->AddGCEpilogueCallback(MarkGarbageCollectionEnd); } inline Local GetName(Local fn) {