|
Encode inlining information in CodeSourceMap and remove inlining interval arrays.
CodeSourceMap now contains a small bytecode that describes changes to the token position and inlining stack as one moves through a function. This information is used by the disassembler to display inlining comments and by the profiler to properly blame ticks against source code.
Slightly shrinks the total size of code metadata; on dart2js compiling hello world, the final heap is
before 59.6MB total, 12.8MB List, 1.1MB CodeSourceMap
after 59.4MB total, 12.1MB List, 1.5MB CodeSourceMap
To be filtered and included in AOT code to expand inline frames in stack traces.
R=johnmccutchan@google.com
Committed: https://github.com/dart-lang/sdk/commit/909ce02b124430bc452dc8822107dd4f5f92c784
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+606 lines, -893 lines) |
Patch |
|
M |
runtime/vm/clustered_snapshot.cc
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_descriptors.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+96 lines, -21 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_descriptors.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+341 lines, -19 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_descriptors_test.cc
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.cc
|
View
|
|
4 chunks |
+1 line, -54 lines |
0 comments
|
Download
|
|
M |
runtime/vm/datastream.h
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/disassembler.cc
|
View
|
1
2
3
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.h
|
View
|
1
2
|
5 chunks |
+2 lines, -22 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+43 lines, -152 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+20 lines, -83 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+49 lines, -378 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_service.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -41 lines |
0 comments
|
Download
|
|
M |
runtime/vm/precompiler.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -16 lines |
0 comments
|
Download
|
|
M |
runtime/vm/profiler_service.cc
|
View
|
1
2
3
4
5
6
7
8
|
10 chunks |
+17 lines, -20 lines |
0 comments
|
Download
|
|
M |
runtime/vm/profiler_test.cc
|
View
|
1
2
|
2 chunks |
+14 lines, -24 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (5 generated)
|