DescriptionImproved 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
Committed: https://crrev.com/1ef7487b657e4b1a86cf778ac062b25de5001af7
Cr-Commit-Position: refs/heads/master@{#35431}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Code review fix, use ternary operator #
Messages
Total messages: 19 (8 generated)
|