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

Issue 1588783002: Do not include resolved_names_ and loaded_scripts_ consistently in both the full and script snapsho… (Closed)

Created:
4 years, 11 months ago by siva
Modified:
4 years, 11 months ago
Reviewers:
hausner
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

Do not include resolved_names_ and loaded_scripts_ consistently in both the full and script snapshots. Initialize the resolved names cache correctly in both cases when reading the snapshot. This reduces the isolate snapshot size from 255324 to 249714. R=hausner@google.com Committed: https://github.com/dart-lang/sdk/commit/8359b9e20c42649567e9375b3ca694cf28767b62

Patch Set 1 #

Patch Set 2 : adjust_comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -15 lines) Patch
M runtime/vm/hash_table.h View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 chunk +11 lines, -3 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 chunks +11 lines, -11 lines 2 comments Download

Messages

Total messages: 6 (2 generated)
siva
4 years, 11 months ago (2016-01-13 23:44:35 UTC) #2
hausner
LGTM w/suggestion. https://codereview.chromium.org/1588783002/diff/20001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1588783002/diff/20001/runtime/vm/raw_object_snapshot.cc#newcode1170 runtime/vm/raw_object_snapshot.cc:1170: // We do not write the loaded_scripts_ ...
4 years, 11 months ago (2016-01-13 23:58:11 UTC) #3
siva
https://codereview.chromium.org/1588783002/diff/20001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1588783002/diff/20001/runtime/vm/raw_object_snapshot.cc#newcode1170 runtime/vm/raw_object_snapshot.cc:1170: // We do not write the loaded_scripts_ and resolved_names_ ...
4 years, 11 months ago (2016-01-14 00:03:31 UTC) #4
siva
4 years, 11 months ago (2016-01-14 00:42:32 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
8359b9e20c42649567e9375b3ca694cf28767b62 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698