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

Issue 1311403009: More precompiled snapshotting. (Closed)

Created:
5 years, 3 months ago by rmacnak
Modified:
5 years, 3 months ago
Reviewers:
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

More precompiled snapshotting. - Load precompiled stub code from the snapshot. - Mark isolates reading from precompiled snapshots as not allowed to compile. - Reset static field values during precompilation. - Don't run the program after generating a precompiled snapshot. Fails sooner in loading precompiled snapshots due to null Instructions. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/998f19dfbbb9f961a76347c3419663315bea9100

Patch Set 1 #

Patch Set 2 : +megamorphic miss stub #

Patch Set 3 : sync #

Patch Set 4 : sync #

Total comments: 21

Patch Set 5 : #

Patch Set 6 : sync #

Total comments: 2

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -78 lines) Patch
M runtime/bin/main.cc View 1 2 3 4 5 6 5 chunks +56 lines, -55 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 3 chunks +9 lines, -4 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 1 chunk +14 lines, -4 lines 0 comments Download
M runtime/vm/snapshot.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 4 chunks +5 lines, -10 lines 0 comments Download
M runtime/vm/stub_code.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/stub_code.cc View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
rmacnak
5 years, 3 months ago (2015-09-05 00:10:20 UTC) #2
Florian Schneider
On 2015/09/05 00:10:20, rmacnak wrote: dbc: I guess resetting statics is not needed yet for ...
5 years, 3 months ago (2015-09-05 08:38:55 UTC) #3
rmacnak
On 2015/09/05 08:38:55, Florian Schneider wrote: > On 2015/09/05 00:10:20, rmacnak wrote: > > dbc: ...
5 years, 3 months ago (2015-09-09 00:46:40 UTC) #4
rmacnak
PTAL
5 years, 3 months ago (2015-09-14 19:17:01 UTC) #5
siva
https://codereview.chromium.org/1311403009/diff/60001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/1311403009/diff/60001/runtime/bin/main.cc#newcode1001 runtime/bin/main.cc:1001: Log::PrintErr("Error: Failed to write snapshot file.\n\n"); This should be: ...
5 years, 3 months ago (2015-09-14 20:32:59 UTC) #6
rmacnak
https://chromiumcodereview.appspot.com/1311403009/diff/60001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://chromiumcodereview.appspot.com/1311403009/diff/60001/runtime/bin/main.cc#newcode1001 runtime/bin/main.cc:1001: Log::PrintErr("Error: Failed to write snapshot file.\n\n"); On 2015/09/14 20:32:59, ...
5 years, 3 months ago (2015-09-15 17:56:42 UTC) #7
siva
lgtm https://codereview.chromium.org/1311403009/diff/100001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/1311403009/diff/100001/runtime/vm/snapshot.cc#newcode1571 runtime/vm/snapshot.cc:1571: Isolate::Current()->set_compilation_allowed(instructions_buffer_ == NULL); isolate()->set_compilation_allowed(...);
5 years, 3 months ago (2015-09-15 23:21:03 UTC) #8
rmacnak
https://codereview.chromium.org/1311403009/diff/100001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/1311403009/diff/100001/runtime/vm/snapshot.cc#newcode1571 runtime/vm/snapshot.cc:1571: Isolate::Current()->set_compilation_allowed(instructions_buffer_ == NULL); On 2015/09/15 23:21:02, siva wrote: > ...
5 years, 3 months ago (2015-09-15 23:53:21 UTC) #9
rmacnak
5 years, 3 months ago (2015-09-15 23:53:48 UTC) #10
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
998f19dfbbb9f961a76347c3419663315bea9100 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698