mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
The tests used to rely on precise timing of when a JavaScript object would be garbage collected to ensure that there is enough memory available on the system. Switch the test to use a malloc/free pair instead. Ref: https://github.com/nodejs/node/pull/5945 Ref: https://github.com/nodejs/node/pull/6039 Ref: https://github.com/nodejs/node/pull/6073 PR-URL: https://github.com/nodejs/node/pull/6705 Reviewed-By: James M Snell <jasnell@gmail.com>