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

Issue 2341523002: VM: Better handling of OOM errors in the background compiler (Closed)

Created:
4 years, 3 months ago by Florian Schneider
Modified:
4 years, 3 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Better handling of OOM errors in the background compiler Don't expect to find a Dart frame on the stack when an exception occurs in background compilation. Propagate OOM error as an unhandled exception, and disable optimization for the function where it occurred. BUG=#27206 R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/743fe92c49c75d972c1743c8b5504e9bbafcc29d

Patch Set 1 #

Patch Set 2 : fix comment #

Total comments: 4

Patch Set 3 : addressed comments #

Patch Set 4 : lint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -20 lines) Patch
M runtime/vm/compiler.cc View 1 3 chunks +6 lines, -14 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 2 3 3 chunks +12 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Florian Schneider
4 years, 3 months ago (2016-09-13 22:17:12 UTC) #2
rmacnak
lgtm https://codereview.chromium.org/2341523002/diff/20001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/2341523002/diff/20001/runtime/vm/exceptions.cc#newcode150 runtime/vm/exceptions.cc:150: if (frame == NULL) return false; // No ...
4 years, 3 months ago (2016-09-13 23:29:57 UTC) #3
Florian Schneider
https://codereview.chromium.org/2341523002/diff/20001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/2341523002/diff/20001/runtime/vm/exceptions.cc#newcode150 runtime/vm/exceptions.cc:150: if (frame == NULL) return false; On 2016/09/13 23:29:56, ...
4 years, 3 months ago (2016-09-14 00:13:21 UTC) #4
Florian Schneider
4 years, 3 months ago (2016-09-14 00:13:55 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
743fe92c49c75d972c1743c8b5504e9bbafcc29d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698