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.
parent
4dc6f4ad
Please register or sign in to comment