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

Issue 2690873005: Enable causal stacktrace in kernel (Closed)

Created:
3 years, 10 months ago by jensj
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 10

Patch Set 2 : Changes based on comments #

Patch Set 3 : Change kernel function 'debuggable' field to an 'originalAsyncMarker' field, use it to set function… #

Total comments: 12

Patch Set 4 : Addressed comments #

Total comments: 1

Patch Set 5 : Addressed more comments #

Patch Set 6 : function.set_is_inlinable to make precompiled builds work too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -7 lines) Patch
M runtime/vm/kernel_reader.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 2 3 4 5 9 chunks +85 lines, -2 lines 0 comments Download
M tests/language/language_kernel.status View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
jensj
Basically a first-stab at "kernel-isation" of https://github.com/dart-lang/sdk/commit/a0ee5b24db5420d8256f22e89561d13038f3320c parser.cc and flow_graph_builder.cc - Asserts will be hit ...
3 years, 10 months ago (2017-02-14 14:07:25 UTC) #2
kustermann
LGTM https://codereview.chromium.org/2690873005/diff/1/pkg/kernel/lib/transformations/continuation.dart File pkg/kernel/lib/transformations/continuation.dart (right): https://codereview.chromium.org/2690873005/diff/1/pkg/kernel/lib/transformations/continuation.dart#newcode267 pkg/kernel/lib/transformations/continuation.dart:267: // :async_stack_trace = _asyncStackTraceHelper(); nit: double space after ...
3 years, 10 months ago (2017-02-14 14:45:53 UTC) #3
jensj
Addressed comments. vm/regress_28325_test passes by mistake (looking for ':12' in stacktrace, and the output contains ...
3 years, 10 months ago (2017-02-15 11:29:53 UTC) #5
kustermann
LGTM
3 years, 10 months ago (2017-02-15 11:39:05 UTC) #6
jensj
Committed patchset #2 (id:20001) manually as b29829660bcdee7eb394e6fd4635ff7a6a77ef01 (presubmit successful).
3 years, 10 months ago (2017-02-15 13:17:38 UTC) #8
jensj
So this thing was reverted because tests failed in debug mode (I don't know why ...
3 years, 10 months ago (2017-02-17 11:45:44 UTC) #10
jensj
On request I've split the extra into another CL instead (https://codereview.chromium.org/2697193008/).
3 years, 10 months ago (2017-02-17 13:20:54 UTC) #11
Kevin Millikin (Google)
LGTM with comments addressed. https://codereview.chromium.org/2690873005/diff/40001/runtime/vm/kernel_to_il.cc File runtime/vm/kernel_to_il.cc (right): https://codereview.chromium.org/2690873005/diff/40001/runtime/vm/kernel_to_il.cc#newcode724 runtime/vm/kernel_to_il.cc:724: // TODO(28777): Either remove the ...
3 years, 10 months ago (2017-02-22 10:42:18 UTC) #12
kustermann
https://codereview.chromium.org/2690873005/diff/40001/pkg/kernel/lib/transformations/continuation.dart File pkg/kernel/lib/transformations/continuation.dart (right): https://codereview.chromium.org/2690873005/diff/40001/pkg/kernel/lib/transformations/continuation.dart#newcode273 pkg/kernel/lib/transformations/continuation.dart:273: statements.add(asyncStackTraceVariableAssign); We could actually just create the variable here ...
3 years, 10 months ago (2017-02-22 11:08:25 UTC) #13
jensj
Thanks. Comments addressed. PTAL. https://codereview.chromium.org/2690873005/diff/40001/pkg/kernel/lib/transformations/continuation.dart File pkg/kernel/lib/transformations/continuation.dart (right): https://codereview.chromium.org/2690873005/diff/40001/pkg/kernel/lib/transformations/continuation.dart#newcode273 pkg/kernel/lib/transformations/continuation.dart:273: statements.add(asyncStackTraceVariableAssign); On 2017/02/22 11:08:25, kustermann ...
3 years, 10 months ago (2017-02-23 09:40:26 UTC) #14
Kevin Millikin (Google)
I don't think we should even have the variable declaration in the Kernel IR, it's ...
3 years, 10 months ago (2017-02-23 10:30:30 UTC) #15
kustermann
https://codereview.chromium.org/2690873005/diff/60001/runtime/vm/kernel_to_il.cc File runtime/vm/kernel_to_il.cc (right): https://codereview.chromium.org/2690873005/diff/60001/runtime/vm/kernel_to_il.cc#newcode6227 runtime/vm/kernel_to_il.cc:6227: if (FLAG_causal_async_stacks && You can move this code to ...
3 years, 10 months ago (2017-02-23 10:30:37 UTC) #16
jensj
Comments addressed. Kevin talked about putting NULL into the :async_stack_trace variable, which I didn't do. ...
3 years, 10 months ago (2017-02-23 14:30:15 UTC) #17
jensj
As an additional comment, all* tests seems to pass. * I ran: python tools/test.py -mrelease ...
3 years, 10 months ago (2017-02-24 10:32:23 UTC) #18
kustermann
LGTM
3 years, 10 months ago (2017-02-24 10:58:20 UTC) #19
jensj
3 years, 10 months ago (2017-02-24 11:11:42 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
26b6ecdf634bc89bb326d8be2cbee407a21cbf80 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698