|
VM: Service isolate under precompilation.
- Include the embedder's portion of the service isolate's Dart code in precompiled snapshots. Swap it in as the root library when running precompiled instead of loading from source.
- Make linter happy with gen_snapshot.
- Fix profiler to consider Instructions in the VM isolate may have their corresponding Code in the regular isolate.
- Make non-functional service RPCs fail cleanly instead of crashing.
BUG=http://dartbug.com/24651
R=johnmccutchan@google.com
Committed: https://github.com/dart-lang/sdk/commit/37dd876bf1a6e6854abc85ebdd9c513e03743580
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+266 lines, -94 lines) |
Patch |
|
M |
runtime/bin/gen_snapshot.cc
|
View
|
1
2
3
|
2 chunks |
+46 lines, -49 lines |
0 comments
|
Download
|
|
M |
runtime/bin/main.cc
|
View
|
1
2
3
4
|
4 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice_dartium.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice_impl.h
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice_impl.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+49 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/include/dart_api.h
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+22 lines, -11 lines |
0 comments
|
Download
|
|
M |
runtime/vm/precompiler.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/profiler_service.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.cc
|
View
|
|
9 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_event.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/service_isolate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/precompilation/test_linux.sh
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/precompilation/test_linux_simarm.sh
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/precompilation/test_macos.sh
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 11 (5 generated)
|