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

Issue 2032153003: Use clustered serialization for full snapshots. (Closed)

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

Use clustered serialization for full snapshots. Retain the recursive-descent format for script and message snapshots. Flutter gallery app on a Nexus 4 - Snapshot, excluding instruction/rodata sections 3429177 -> 2874997B (-16%) - InitOnce 54.1 -> 8.4ms (-84%) - InitializeIsolate 374.3 -> 170.8ms (-54%) R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/524fbc1e0f9d61ff5da69bbed2b35745528de945

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : . #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : . #

Patch Set 13 : . #

Patch Set 14 : . #

Total comments: 20

Patch Set 15 : friend macro, sync #

Total comments: 3

Patch Set 16 : round1 #

Total comments: 41

Patch Set 17 : round2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5620 lines, -1003 lines) Patch
M runtime/lib/stacktrace.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/benchmark_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/class_table.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/class_table.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -6 lines 0 comments Download
A runtime/vm/clustered_snapshot.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +478 lines, -0 lines 0 comments Download
A runtime/vm/clustered_snapshot.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4998 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +7 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 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart_entry.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +13 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/object_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -3 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 chunks +20 lines, -3 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 6 7 8 9 10 11 12 23 chunks +33 lines, -494 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +1 line, -95 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +0 lines, -386 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/stub_code.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -2 lines 0 comments Download
M runtime/vm/stub_code.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +20 lines, -10 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
rmacnak
4 years, 6 months ago (2016-06-14 17:59:58 UTC) #5
Florian Schneider
https://codereview.chromium.org/2032153003/diff/260001/runtime/vm/raw_object.h File runtime/vm/raw_object.h (right): https://codereview.chromium.org/2032153003/diff/260001/runtime/vm/raw_object.h#newcode754 runtime/vm/raw_object.h:754: friend class UnresolvedClassSerializationCluster; Have you tried making these friend ...
4 years, 6 months ago (2016-06-14 20:32:20 UTC) #8
rmacnak
https://codereview.chromium.org/2032153003/diff/260001/runtime/vm/raw_object.h File runtime/vm/raw_object.h (right): https://codereview.chromium.org/2032153003/diff/260001/runtime/vm/raw_object.h#newcode754 runtime/vm/raw_object.h:754: friend class UnresolvedClassSerializationCluster; On 2016/06/14 20:32:20, Florian Schneider wrote: ...
4 years, 6 months ago (2016-06-21 17:53:03 UTC) #9
siva
Some initial comments (Still continuing review). https://codereview.chromium.org/2032153003/diff/260001/runtime/lib/stacktrace.cc File runtime/lib/stacktrace.cc (right): https://codereview.chromium.org/2032153003/diff/260001/runtime/lib/stacktrace.cc#newcode71 runtime/lib/stacktrace.cc:71: } Is this ...
4 years, 6 months ago (2016-06-21 23:51:43 UTC) #10
rmacnak
https://codereview.chromium.org/2032153003/diff/260001/runtime/lib/stacktrace.cc File runtime/lib/stacktrace.cc (right): https://codereview.chromium.org/2032153003/diff/260001/runtime/lib/stacktrace.cc#newcode71 runtime/lib/stacktrace.cc:71: } On 2016/06/21 23:51:42, siva wrote: > Is this ...
4 years, 6 months ago (2016-06-22 19:42:18 UTC) #11
siva
lgtm with a few comments. https://codereview.chromium.org/2032153003/diff/280001/runtime/vm/clustered_snapshot.h File runtime/vm/clustered_snapshot.h (right): https://codereview.chromium.org/2032153003/diff/280001/runtime/vm/clustered_snapshot.h#newcode181 runtime/vm/clustered_snapshot.h:181: Write<intptr_t>(reinterpret_cast<intptr_t>(object)); How does this ...
4 years, 5 months ago (2016-06-30 00:06:08 UTC) #12
rmacnak
https://codereview.chromium.org/2032153003/diff/280001/runtime/vm/clustered_snapshot.h File runtime/vm/clustered_snapshot.h (right): https://codereview.chromium.org/2032153003/diff/280001/runtime/vm/clustered_snapshot.h#newcode181 runtime/vm/clustered_snapshot.h:181: Write<intptr_t>(reinterpret_cast<intptr_t>(object)); On 2016/06/30 00:06:07, siva wrote: > How does ...
4 years, 5 months ago (2016-06-30 01:39:22 UTC) #13
rmacnak
4 years, 5 months ago (2016-06-30 02:50:13 UTC) #15
Message was sent while issue was closed.
Committed patchset #17 (id:320001) manually as
524fbc1e0f9d61ff5da69bbed2b35745528de945 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698