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

Issue 2687143005: Include metadata in AOT to expand inline frames in stack traces and provide line numbers. (Closed)

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

Description

Include metadata in AOT to expand inline frames in stack traces and provide line numbers. Also fix stack trace collection to always include invisible frames. It can happen that a visible function is inlined into an invisible function, and we don't expand inlined frames until we print a stack trace. dart2js product x64: compile time: 12.459s VMIsolate(CodeSize): 152292 Isolate(CodeSize): 3343117 ReadOnlyData(CodeSize): 3728928 Instructions(CodeSize): 8677600 Total(CodeSize): 15901937 -> compile time: 14.195s (+13%) VMIsolate(CodeSize): 174034 Isolate(CodeSize): 3892418 (+16%) ReadOnlyData(CodeSize): 5036320 (+35%) Instructions(CodeSize): 8682624 Total(CodeSize): 17785396 (+12%) R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/cfe5e5f075431641642a8e3be2fbd4414eaca1fd

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Enable more tests #

Patch Set 4 : collect invisible code frames #

Total comments: 12

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -205 lines) Patch
A + runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart View 1 2 3 4 4 chunks +12 lines, -10 lines 0 comments Download
A + runtime/tests/vm/dart/optimized_stacktrace_line_test.dart View 1 2 3 4 4 chunks +12 lines, -10 lines 0 comments Download
D runtime/tests/vm/dart/optimized_stacktrace_test.dart View 1 chunk +0 lines, -78 lines 0 comments Download
M runtime/tests/vm/vm.status View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M runtime/vm/clustered_snapshot.cc View 1 2 3 4 5 chunks +8 lines, -10 lines 0 comments Download
M runtime/vm/code_descriptors.h View 1 1 chunk +1 line, -5 lines 0 comments Download
M runtime/vm/code_descriptors.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 3 chunks +9 lines, -8 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 8 chunks +66 lines, -23 lines 0 comments Download
M runtime/vm/precompiler.h View 2 chunks +22 lines, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 4 chunks +57 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/stack_trace.h View 1 2 3 1 chunk +9 lines, -13 lines 0 comments Download
M runtime/vm/stack_trace.cc View 1 2 3 4 chunks +8 lines, -14 lines 0 comments Download
M tests/corelib/corelib.status View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M tests/language/full_stacktrace1_test.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/full_stacktrace2_test.dart View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M tests/language/full_stacktrace3_test.dart View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 1 chunk +0 lines, -12 lines 0 comments Download
M tests/standalone/standalone.status View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
rmacnak
3 years, 10 months ago (2017-02-10 01:54:46 UTC) #2
rmacnak
3 years, 10 months ago (2017-02-11 00:50:39 UTC) #7
siva
lgtm https://codereview.chromium.org/2687143005/diff/60001/runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart File runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart (right): https://codereview.chromium.org/2687143005/diff/60001/runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart#newcode37 runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart:37: } Does it make sense to extend your ...
3 years, 10 months ago (2017-02-11 03:19:00 UTC) #8
rmacnak
https://codereview.chromium.org/2687143005/diff/60001/runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart File runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart (right): https://codereview.chromium.org/2687143005/diff/60001/runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart#newcode37 runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart:37: } On 2017/02/11 03:19:00, siva wrote: > Does it ...
3 years, 10 months ago (2017-02-13 18:25:34 UTC) #9
rmacnak
3 years, 10 months ago (2017-02-13 18:27:43 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
cfe5e5f075431641642a8e3be2fbd4414eaca1fd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698