diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-08-24 20:47:00 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-08-28 22:08:16 -0700 |
commit | 095c9463dd707330f633283c7d419f09eafcd968 (patch) | |
tree | ee0d7e5e03dd83fd298789a1f7996adde6835b31 /src/node_perf.cc | |
parent | 65c9537adc867ea65c20df6ef599e7f2ae7f2e49 (diff) | |
download | android-node-v8-095c9463dd707330f633283c7d419f09eafcd968.tar.gz android-node-v8-095c9463dd707330f633283c7d419f09eafcd968.tar.bz2 android-node-v8-095c9463dd707330f633283c7d419f09eafcd968.zip |
perf_hooks: fix presumed typo in node_perf.cc
PR-URL: https://github.com/nodejs/node/pull/15019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/node_perf.cc')
-rw-r--r-- | src/node_perf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_perf.cc b/src/node_perf.cc index 2398bb9b8f..a708877d5d 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<Value> GetName(Local<Function> fn) { |