lib,src: remove post-gc event infrastructure
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 16 Dec 2014 12:21:41 +0000 (13:21 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 18 Dec 2014 18:39:30 +0000 (19:39 +0100)
commitdab6f681cd8c43351aa56f4deb2e327c8e4c5cfe
tree797cf30a166d72adc26020ae7d667e0fc7aa435c
parentebf9f297b30d6cf2e5060da91d63cebbedc448e2
lib,src: remove post-gc event infrastructure

Remove the 'gc' event from the v8 module and remove the supporting
infrastructure from src/.  It gets the axe because:

1. There are currently no users.  It was originally conceived as
   an upstreamed subset of StrongLoop's strong-agent GC metrics,
   but the strong-agent code base has evolved considerably since
   that time and has no use anymore for what is in core.

2. The implementation is not quite sound.  It calls into JS land
   from inside the GC epilog and that is unsafe.  We could fix
   that by delaying the callback until a safe time but because
   there are no users anyway, removing it is all around easier.

PR-URL: https://github.com/iojs/io.js/pull/174
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
lib/v8.js
src/env-inl.h
src/env.h
src/node_v8.cc
test/parallel/test-v8-gc.js [deleted file]