|
Thread/Isolate refactoring: new(Isolate*) -> new(Zone*)
Refactor all remaning cases where the current zone is used through new(Isolate*) and remove this interface.
Removing this interface is needed to move towards multiple threads per isolate, and also makes the caller more aware of the scope of the zone used, reducing the risk of use-after-free.
Make the current thread and the stack zone created around native/runtime entries directly available in their body, saving an indirection (and optimized away if unused).
R=iposva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=44541
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+906 lines, -862 lines) |
Patch |
|
M |
runtime/lib/isolate.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/mirrors.cc
|
View
|
1
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/lib/regexp.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/lib/string.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/allocation.h
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/allocation.cc
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator.cc
|
View
|
1
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.cc
|
View
|
1
2
3
4
|
13 chunks |
+35 lines, -29 lines |
0 comments
|
Download
|
|
M |
runtime/vm/constant_propagator.cc
|
View
|
1
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/coverage.cc
|
View
|
1
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_entry.cc
|
View
|
1
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/deopt_instructions.h
|
View
|
1
|
7 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/vm/deopt_instructions.cc
|
View
|
1
|
23 chunks |
+42 lines, -41 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_builder.h
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_builder.cc
|
View
|
1
2
|
166 chunks |
+324 lines, -325 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
1
|
9 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_inliner.cc
|
View
|
1
|
10 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_optimizer.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
1
|
21 chunks |
+38 lines, -39 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_range_analysis.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_range_analysis.cc
|
View
|
1
|
7 chunks |
+19 lines, -21 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_type_propagator.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_type_propagator.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.h
|
View
|
1
|
7 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.cc
|
View
|
1
|
15 chunks |
+34 lines, -34 lines |
0 comments
|
Download
|
|
M |
runtime/vm/native_entry.h
|
View
|
1
2
|
2 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
|
4 chunks |
+28 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/vm/regexp.h
|
View
|
|
19 chunks |
+33 lines, -33 lines |
0 comments
|
Download
|
|
M |
runtime/vm/regexp.cc
|
View
|
1
2
3
4
|
56 chunks |
+94 lines, -91 lines |
0 comments
|
Download
|
|
M |
runtime/vm/regexp_assembler.h
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/regexp_assembler.cc
|
View
|
|
42 chunks |
+75 lines, -75 lines |
0 comments
|
Download
|
|
M |
runtime/vm/regexp_parser.h
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/regexp_parser.cc
|
View
|
|
17 chunks |
+26 lines, -26 lines |
0 comments
|
Download
|
|
M |
runtime/vm/regexp_test.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/runtime_entry.h
|
View
|
1
2
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/scanner.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/scanner.cc
|
View
|
|
9 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/unit_test.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 7 (1 generated)
|