Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Issue 1873443002: Improved diagnostic message for JS heap out of memory (Closed)

Created:
4 years, 8 months ago by Richard Chamberlain
Modified:
4 years, 8 months ago
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

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 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M src/api.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/heap/heap.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/heap.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M src/heap/mark-compact.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/v8.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (8 generated)
Richard Chamberlain
Submitting for review again (new issue, under correct ibm.com account) - thanks
4 years, 8 months ago (2016-04-07 15:15:02 UTC) #1
Hannes Payer (out of office)
lgtm with one nit https://codereview.chromium.org/1873443002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1873443002/diff/1/src/api.cc#newcode307 src/api.cc:307: Utils::ApiCheck(false, location, Please change to: ...
4 years, 8 months ago (2016-04-07 17:09:24 UTC) #3
Richard Chamberlain
On 2016/04/07 17:09:24, Hannes Payer wrote: > lgtm with one nit > > https://codereview.chromium.org/1873443002/diff/1/src/api.cc > ...
4 years, 8 months ago (2016-04-08 13:52:35 UTC) #4
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-08 22:30:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1873443002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1873443002/20001
4 years, 8 months ago (2016-04-08 22:30:42 UTC) #8
commit-bot: I haz the power
The author richard_chamberlain@uk.ibm.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
4 years, 8 months ago (2016-04-08 22:30:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1873443002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1873443002/20001
4 years, 8 months ago (2016-04-12 08:37:06 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/16441)
4 years, 8 months ago (2016-04-12 08:40:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1873443002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1873443002/20001
4 years, 8 months ago (2016-04-13 08:06:34 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-13 08:26:15 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 08:27:45 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1ef7487b657e4b1a86cf778ac062b25de5001af7
Cr-Commit-Position: refs/heads/master@{#35431}

Powered by Google App Engine
This is Rietveld 408576698