diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-10-28 14:57:47 +0100 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-02-05 11:49:01 -0800 |
commit | 010222d39fbbf766b9c24a448a804d23928929f4 (patch) | |
tree | 89663255f292236ebffad84e1d047f08642d8bc7 /node.gyp | |
parent | 4dc6f4adf48e9b1d35ff88e30dfbdc016d6621f7 (diff) | |
download | nodejs-010222d39fbbf766b9c24a448a804d23928929f4.tar.gz nodejs-010222d39fbbf766b9c24a448a804d23928929f4.tar.bz2 nodejs-010222d39fbbf766b9c24a448a804d23928929f4.zip |
src: add tracing.v8.on('gc') statistics hooks
Add a new 'tracing' module with a v8 property that lets the user
register listeners for gc events. The listeners are invoked after
every garbage collection cycle with 'before' and 'after' statistics.
Useful for monitoring tools that want to keep track of memory usage.
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,7 @@ 'lib/string_decoder.js', 'lib/sys.js', 'lib/timers.js', + 'lib/tracing.js', 'lib/tls.js', 'lib/_tls_legacy.js', 'lib/_tls_wrap.js', @@ -96,6 +97,7 @@ 'src/node_javascript.cc', 'src/node_main.cc', 'src/node_os.cc', + 'src/node_v8.cc', 'src/node_stat_watcher.cc', 'src/node_watchdog.cc', 'src/node_zlib.cc', |