0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps
Michael Dawson af4a380d40 deps: cherry-pick 1ef7487b from v8 upstream
Original commit message:

     Improved diagnostic message for JS heap out of memory

     This patch replaces the unused 'take_snapshot' parameter on
     FatalProcessOutOfMemory() with a 'is_heap_oom' parameter.
     The parameter is set to true on error paths where the
     JS heap is out of memory, as distinct from a malloc()
     failure i.e. process out of memory.  The message output to
     stderr or passed to embedding applications via FatalErrorCallback
     is 'Javascript heap out of memory' rather than
     'process out of memory'.

     BUG=

     R=jochen@chromium.org, verwaest@chromium.org, michael_dawson@ca.ibm.com

     Review URL: https://codereview.chromium.org/1873443002

     Cr-Commit-Position: refs/heads/master@{#35431}

We'd like this in 6.x to help with diagnosing customer problems.
It provides a better message on OOM so that it is easier to
be able to tell whether the OOM was due to heap exhaustion
or running out of native memory.

PR-URL: https://github.com/nodejs/node/pull/6218
Reviewed-By: Ben Noordhuis <ben@strongloop.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-04-18 15:49:55 -04:00
..
cares
gtest
http_parser deps: sync deps/http_parser with nodejs/http_parser 2016-03-08 14:11:12 -08:00
npm deps: floating fix for npm's test-node script 2016-04-14 12:24:02 -04:00
openssl build: enable compilation for linuxOne 2016-03-29 18:52:48 -04:00
uv deps: upgrade libuv to 1.9.0 2016-04-07 10:48:27 -03:00
v8 deps: cherry-pick 1ef7487b from v8 upstream 2016-04-18 15:49:55 -04:00
zlib