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

Issue 2936793003: Proper sequencing of _asyncStackTraceHelper in Kernel (Closed)

Created:
3 years, 6 months ago by Kevin Millikin (Google)
Modified:
3 years, 6 months ago
Reviewers:
aam, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Proper sequencing of _asyncStackTraceHelper in Kernel This helper function was being called before its argument was initialized so it was passing null. Instead, it should be called after its argument is initialized. Because the initialization happens in Kernel code, it is simplest to insert the call explicitly in Kernel code as well as part of the async transformation. This has the consequence that we now call the helper function even when the flag causal_async_stacks is false. Fixes #29771. BUG= R=aam@google.com, asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/0489249d29131ed7bf047485c74f557d88eb9974

Patch Set 1 #

Patch Set 2 : Rebase before landing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -34 lines) Patch
M pkg/kernel/lib/core_types.dart View 2 chunks +6 lines, -0 lines 0 comments Download
M pkg/kernel/lib/transformations/continuation.dart View 6 chunks +15 lines, -0 lines 0 comments Download
M runtime/lib/stacktrace.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M runtime/observatory/tests/service/service_kernel.status View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/kernel_binary_flowgraph.cc View 1 1 chunk +0 lines, -26 lines 0 comments Download
M runtime/vm/parser.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Kevin Millikin (Google)
3 years, 6 months ago (2017-06-13 15:56:19 UTC) #2
aam
lgtm, thanks! And it does fix running Flutter gallery with '--causal_async_traces'.
3 years, 6 months ago (2017-06-13 17:20:39 UTC) #3
aam
On 2017/06/13 17:20:39, aam wrote: > lgtm, thanks! > > And it does fix running ...
3 years, 6 months ago (2017-06-13 17:21:13 UTC) #4
siva
lgtm
3 years, 6 months ago (2017-06-13 21:49:50 UTC) #5
Kevin Millikin (Google)
3 years, 6 months ago (2017-06-19 14:53:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0489249d29131ed7bf047485c74f557d88eb9974 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698