|
Initial isolate reload support
This is a cut of the work that Todd and I collaborated on in the reload branch.
In this CL, we've dropped the loader port hacks, in other words, on stack reloading in the standalone embedder does not work yet.
- [x] Support for hot reloading of isolate source code
- [x] Unit test harness and many tests
- [x] Service protocol and Observatory support
- [x] Product build does not include support for hot reloading.
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/48c8ffa7f3d778fb6ee39c558f7ffae9a134e7ad
Total comments: 45
Total comments: 29
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+5573 lines, -309 lines) |
Patch |
|
M |
runtime/include/dart_api.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/developer.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/app/application.dart
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/debugger.dart
|
View
|
|
4 chunks |
+36 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/isolate_view.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/isolate_view.html
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/nav_bar.html
|
View
|
|
3 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/script_view.html
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/service/object.dart
|
View
|
1
2
3
4
|
9 chunks |
+27 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/tests/vm/vm.status
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/become.h
|
View
|
1
2
3
4
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/become.cc
|
View
|
1
2
3
4
|
1 chunk |
+238 lines, -0 lines |
1 comment
|
Download
|
|
M |
runtime/vm/block_scheduler.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/class_finalizer.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/class_finalizer_test.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/class_table.h
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator.cc
|
View
|
1
2
3
4
|
7 chunks |
+37 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_arm64_test.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_arm_test.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_ia32_test.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_mips_test.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_x64_test.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.h
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.cc
|
View
|
1
2
3
4
|
5 chunks |
+64 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger_test.cc
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_arm64.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_mips.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/heap.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/heap_test.cc
|
View
|
1
2
3
4
|
2 chunks |
+78 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.cc
|
View
|
|
1 chunk |
+1 line, -22 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
2
3
4
|
10 chunks |
+63 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
|
12 chunks |
+127 lines, -1 line |
0 comments
|
Download
|
|
A |
runtime/vm/isolate_reload.h
|
View
|
1
2
|
1 chunk |
+175 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/isolate_reload.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1225 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/isolate_reload_test.cc
|
View
|
1
2
|
1 chunk |
+1832 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
|
18 chunks |
+85 lines, -7 lines |
1 comment
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
|
33 chunks |
+439 lines, -74 lines |
1 comment
|
Download
|
|
A |
runtime/vm/object_reload.cc
|
View
|
1
2
3
4
|
1 chunk |
+548 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_service.cc
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/pages.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/parser.h
|
View
|
|
3 chunks |
+64 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.cc
|
View
|
1
2
3
4
|
9 chunks |
+35 lines, -75 lines |
0 comments
|
Download
|
|
M |
runtime/vm/profiler_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
|
5 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object_snapshot.cc
|
View
|
1
2
3
4
|
8 chunks |
+32 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/runtime_entry.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/scavenger.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.cc
|
View
|
1
2
3
4
|
4 chunks |
+59 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_event.h
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_event.cc
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_isolate.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_isolate.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm64_test.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm_test.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_ia32_test.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_mips_test.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64_test.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.cc
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/unit_test.h
|
View
|
|
3 chunks |
+28 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/unit_test.cc
|
View
|
|
9 chunks |
+143 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 21 (8 generated)
|