|
|
Collect closure functions in isolate
Instead of collecting closures functions in each class object, maintain one list per isolate. This is a step towards getting rid of top-level classes.
I'd appreciate if John could take a look at the service isolate and coverage related change.
I'd appreciate if Ryan could take a look at the precompilation related change.
When compiling all of corelib, the list of closures in the isolate is about 600 entries long. If this linear list should become a bottleneck, I'll deal with it later. (Sadly, some code relies on the fact that a closure can be identified with a list index, so making it a hash table instead of an array does not work.)
BUG=
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/648e52baa891816fc887b50e1096a048d9fb206e
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+209 lines, -254 lines) |
Patch |
 |
M |
runtime/observatory/tests/service/coverage_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler_stats.cc
|
View
|
1
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/coverage.cc
|
View
|
|
1 chunk |
+33 lines, -31 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/debugger.cc
|
View
|
1
2
|
6 chunks |
+41 lines, -54 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_builder.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -15 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.h
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
2
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+1 line, -82 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_store.h
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_store.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_test.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.cc
|
View
|
1
2
|
5 chunks |
+9 lines, -19 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/precompiler.cc
|
View
|
|
2 chunks |
+19 lines, -24 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/service.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 11 (2 generated)
|