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

Issue 2511573003: VM: Remove too strict assertion in rethrow. (Closed)

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

Description

VM: Remove too strict assertion in rethrow. With custom zones and async code we may end up invoking rethrow with an error object where the stacktrace is not initialized. In that case we can just use the stacktrace passed into rethrow explicitly. Fixes #27839. R=kustermann@google.com Committed: https://github.com/dart-lang/sdk/commit/2e4101fc6c4544b9b0a66dc2156664bf68bf8f4a

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -26 lines) Patch
M runtime/vm/exceptions.cc View 1 2 chunks +21 lines, -26 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Florian Schneider
4 years, 1 month ago (2016-11-17 00:42:15 UTC) #2
kustermann
LGTM, thanks! https://codereview.chromium.org/2511573003/diff/1/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/2511573003/diff/1/runtime/vm/exceptions.cc#newcode412 runtime/vm/exceptions.cc:412: &handler_needs_stacktrace); Can this FindExceptionHandler() be hoisted out ...
4 years, 1 month ago (2016-11-17 11:07:48 UTC) #3
Florian Schneider
https://codereview.chromium.org/2511573003/diff/1/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/2511573003/diff/1/runtime/vm/exceptions.cc#newcode412 runtime/vm/exceptions.cc:412: &handler_needs_stacktrace); On 2016/11/17 11:07:48, kustermann wrote: > Can this ...
4 years, 1 month ago (2016-11-17 18:59:07 UTC) #4
Florian Schneider
4 years, 1 month ago (2016-11-17 20:11:40 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2e4101fc6c4544b9b0a66dc2156664bf68bf8f4a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698