|
Use a single file for app snapshots.
For blobs, put all four pieces into a single file with a header describing their offsets.
For dynamic libraries, move the vm isolate and isolate pieces into the dynamic library as additional read-only sections.
Automatically detect if the script argument is an app snapshot and initialize the VM appropriately, similar to automatic detection of script snapshots.
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/4f8b16df3b3ce9654af03368344706efec247369
Total comments: 12
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+366 lines, -292 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
runtime/bin/dartutils.cc
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/extensions_android.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/extensions_fuchsia.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/extensions_linux.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/extensions_macos.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/extensions_win.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/file.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/file_android.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -9 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/file_fuchsia.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/file_linux.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -8 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/file_macos.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -8 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/file_win.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/gen_snapshot.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+21 lines, -29 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/bin/main.cc
|
View
|
1
2
3
4
|
10 chunks |
+207 lines, -162 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/include/dart_api.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/vm/clustered_snapshot.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/vm/dart_api_impl.cc
|
View
|
|
4 chunks |
+4 lines, -24 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/vm/snapshot.h
|
View
|
1
|
3 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
runtime/vm/snapshot.cc
|
View
|
1
|
2 chunks |
+23 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
tools/testing/dart/compiler_configuration.dart
|
View
|
1
2
3
|
6 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
tools/testing/dart/runtime_configuration.dart
|
View
|
1
2
3
|
3 chunks |
+12 lines, -14 lines |
0 comments
|
Download
|
Total messages: 10 (4 generated)
|