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

Issue 1944213002: Support for taking full snapshots from 'dart', not just 'dart_bootstrap'. (Closed)

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

Support for taking full snapshots from 'dart', not just 'dart_bootstrap'. - Don't create rival copies of the predefined symbols in isolates in dart_bootstrap. - Don't do work to save these rival copies during symbol table compaction. - Create unified symbol table just before writing the vm isolate. - Create unified list of scripts to include in the vm isolate. - Ignore object ids of the old vm isolate when writing a new one. - Ensure token stream private keys are hashed. - Use the type of isolate we are writing instead of an object's current isolate to decide if vm isolate objects are written symbolically. BUG= R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/1e8fdaee68691b9eb1a765a3bb6eb8bde5dcfcac

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 2

Patch Set 5 : predefined versus vm symbol #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -207 lines) Patch
M runtime/vm/benchmark_test.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 4 chunks +4 lines, -8 lines 0 comments Download
M runtime/vm/dart_api_message.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_message.cc View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 4 5 6 1 chunk +11 lines, -2 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 6 6 chunks +6 lines, -18 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 19 chunks +59 lines, -50 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 2 3 4 5 6 3 chunks +3 lines, -6 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 2 chunks +13 lines, -17 lines 0 comments Download
M runtime/vm/symbols.cc View 1 2 3 4 6 chunks +57 lines, -90 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
rmacnak
4 years, 7 months ago (2016-05-04 01:19:25 UTC) #2
rmacnak
Updated to keep the small table in the regular isolate and two phase symbol lookup. ...
4 years, 7 months ago (2016-05-04 23:14:47 UTC) #4
siva
https://codereview.chromium.org/1944213002/diff/40001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/1944213002/diff/40001/runtime/vm/snapshot.cc#newcode1931 runtime/vm/snapshot.cc:1931: } Instead of this code which is heard to ...
4 years, 7 months ago (2016-05-05 00:50:05 UTC) #5
rmacnak
https://codereview.chromium.org/1944213002/diff/40001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/1944213002/diff/40001/runtime/vm/snapshot.cc#newcode2286 runtime/vm/snapshot.cc:2286: if (rawobj->IsVMHeapObject() && HandleVMIsolateObject(rawobj)) { On 2016/05/05 00:50:04, siva ...
4 years, 7 months ago (2016-05-05 20:40:57 UTC) #6
rmacnak
Finished support for taking snapshots from a VM that was started from a snapshot. PTAL. ...
4 years, 7 months ago (2016-05-06 23:15:47 UTC) #9
siva
lgtm https://chromiumcodereview.appspot.com/1944213002/diff/60001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://chromiumcodereview.appspot.com/1944213002/diff/60001/runtime/vm/precompiler.cc#newcode235 runtime/vm/precompiler.cc:235: Symbols::GetStats(I, &symbols_before, &capacity); Should these two calls to ...
4 years, 7 months ago (2016-05-10 00:49:10 UTC) #11
rmacnak
https://codereview.chromium.org/1944213002/diff/60001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/1944213002/diff/60001/runtime/vm/precompiler.cc#newcode235 runtime/vm/precompiler.cc:235: Symbols::GetStats(I, &symbols_before, &capacity); On 2016/05/10 00:49:10, siva wrote: > ...
4 years, 7 months ago (2016-05-10 01:45:02 UTC) #12
rmacnak
4 years, 7 months ago (2016-05-10 17:13:39 UTC) #14
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
1e8fdaee68691b9eb1a765a3bb6eb8bde5dcfcac (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698