|
|
Deoptimization can occur at Dart calls (includes native calls to C) but not at runtime calls. This assumption (verified with Todd and Gilad) simplifies the implementation of lazy deoptimization considerably.
Add flag --deoptimize-alot, which will lazily deoptimize all live optimized frames. Currently only the presence of deoptimization information is checked.
Add kDeoptAfter deoptimization point, which is the continuation for lazy deoptimization, after a call. Rename kDeopt to kDeoptBefore.
Removed a tests case that called into a native without properly setting up a Dart frame (Ok-d by Siva).
Native functions are not optimizable.
TODO: Split deoptimization information from DeoptimizationStubs. Check for redundant PcDescriptor information (what can be merged, especially at calls).
Committed: https://code.google.com/p/dart/source/detail?r=11642
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+196 lines, -171 lines) |
Patch |
 |
M |
runtime/vm/code_descriptors.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_descriptors.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+31 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/deopt_instructions.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+34 lines, -12 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+34 lines, -12 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/native_entry.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+28 lines, -12 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_test.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_ia32_test.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -49 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_x64_test.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -49 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|