|
|
Fixes a couple problems with GC of unoptimized code.
1. Instead of making a pass before the Marking phase,
this change does not visit code pointers in functions
during marking. Then after marking, if the code has
still not been marked, code pointers in functions
are nulled out.
2. Since code pointers in functions may be nulled out,
functions are no longer used as proxies for code in
deoptimization info.
R=iposva@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30600
Total comments: 8
Total comments: 36
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+282 lines, -200 lines) |
Patch |
 |
M |
runtime/vm/block_scheduler.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+30 lines, -23 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_patcher.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/deopt_instructions.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/deopt_instructions.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+25 lines, -30 lines |
0 comments
|
Download
|
 |
|
runtime/vm/flow_graph.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_builder.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_mips.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_inliner.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+19 lines, -9 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/gc_marker.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/gc_marker.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+51 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
|
runtime/vm/megamorphic_cache_table.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/megamorphic_cache_table.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/pages.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/pages.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+10 lines, -50 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
|
runtime/vm/raw_object.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+36 lines, -1 line |
0 comments
|
Download
|
 |
|
runtime/vm/stack_frame.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/visitor.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|