Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Issue 1318803002: Toward precompiled snapshots. (Closed)

Created:
5 years, 3 months ago by rmacnak
Modified:
5 years, 3 months ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Toward precompiled snapshots. Gets as far as encountering null Instructions in the first Dart_Invoke after loading the snapshot. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/0ed4d44a996f595bc2a602ccf692f0c90a34e03a

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : READ_POINTERS #

Total comments: 23

Patch Set 9 : #

Patch Set 10 : sync #

Patch Set 11 : #

Patch Set 12 : mac #

Patch Set 13 : sync again #

Total comments: 4

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+863 lines, -379 lines) Patch
M runtime/bin/extensions.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/bin/extensions_android.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/extensions_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/extensions_macos.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/extensions_win.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +117 lines, -9 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +19 lines, -0 lines 0 comments Download
M runtime/include/dart_native_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/benchmark_test.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +73 lines, -1 line 0 comments Download
M runtime/vm/dart_entry.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/native_api_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +0 lines, -23 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 8 9 10 10 chunks +14 lines, -6 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 6 7 8 9 10 50 chunks +170 lines, -255 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 6 7 8 9 10 21 chunks +87 lines, -6 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 7 8 9 10 32 chunks +284 lines, -67 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -3 lines 0 comments Download
A tools/precompilation/create_instructions_snapshot_assembly.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
A tools/precompilation/test_linux.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +17 lines, -0 lines 0 comments Download
A tools/precompilation/test_macos.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
rmacnak
https://codereview.chromium.org/1318803002/diff/120001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/1318803002/diff/120001/runtime/bin/main.cc#newcode1066 runtime/bin/main.cc:1066: if (has_precompiled) { For now, load everything from files. ...
5 years, 3 months ago (2015-08-27 00:22:29 UTC) #2
siva
https://codereview.chromium.org/1318803002/diff/140001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/1318803002/diff/140001/runtime/bin/main.cc#newcode303 runtime/bin/main.cc:303: has_precompile = true; generate script snapshot and precompile can ...
5 years, 3 months ago (2015-09-01 20:58:49 UTC) #3
rmacnak
https://codereview.chromium.org/1318803002/diff/140001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/1318803002/diff/140001/runtime/bin/main.cc#newcode303 runtime/bin/main.cc:303: has_precompile = true; On 2015/09/01 20:58:48, siva wrote: > ...
5 years, 3 months ago (2015-09-01 23:43:48 UTC) #4
siva
lgtm https://codereview.chromium.org/1318803002/diff/240001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/1318803002/diff/240001/runtime/bin/main.cc#newcode448 runtime/bin/main.cc:448: { "--precompiled", ProcessPrecompiledOption }, maybe we should call ...
5 years, 3 months ago (2015-09-02 21:16:37 UTC) #5
rmacnak
https://chromiumcodereview.appspot.com/1318803002/diff/240001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://chromiumcodereview.appspot.com/1318803002/diff/240001/runtime/bin/main.cc#newcode448 runtime/bin/main.cc:448: { "--precompiled", ProcessPrecompiledOption }, On 2015/09/02 21:16:37, siva wrote: ...
5 years, 3 months ago (2015-09-02 22:58:50 UTC) #6
rmacnak
5 years, 3 months ago (2015-09-02 23:14:58 UTC) #7
rmacnak
5 years, 3 months ago (2015-09-02 23:15:08 UTC) #8
Message was sent while issue was closed.
Committed patchset #14 (id:260001) manually as
0ed4d44a996f595bc2a602ccf692f0c90a34e03a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698