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

Issue 2823873003: Tree shaker: (Closed)

Created:
3 years, 8 months ago by rmacnak
Modified:
3 years, 8 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Tree shaker: - Don't remove entries from a library's dictionary while iterating over it. - Remove library prefixes from library dictionaries. - Compact library dictionaries after removing entries. - Track snapshot references in debug mode and give a backtrace when unencountering an unexpected object. - Verify removed libraries are not included in the snapshot by marking their top-level classes. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/17e43f284b05f037cd567ea7b038907987b7aff7

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : drop prefix #

Patch Set 4 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -124 lines) Patch
M runtime/vm/clustered_snapshot.h View 1 2 3 chunks +15 lines, -32 lines 1 comment Download
M runtime/vm/clustered_snapshot.cc View 1 2 3 4 chunks +81 lines, -3 lines 0 comments Download
M runtime/vm/object.h View 1 4 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 6 chunks +16 lines, -58 lines 0 comments Download
M runtime/vm/precompiler.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 10 chunks +54 lines, -26 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
rmacnak
3 years, 8 months ago (2017-04-18 20:19:44 UTC) #4
rmacnak
On 2017/04/18 20:19:44, rmacnak wrote: Removes an additional 53 libraries from //apps/sysui/userpicker_device_shell. script: 478 libraries ...
3 years, 8 months ago (2017-04-18 20:53:54 UTC) #5
siva
lgtm https://codereview.chromium.org/2823873003/diff/60001/runtime/vm/clustered_snapshot.h File runtime/vm/clustered_snapshot.h (right): https://codereview.chromium.org/2823873003/diff/60001/runtime/vm/clustered_snapshot.h#newcode25 runtime/vm/clustered_snapshot.h:25: #endif If this is going to be always ...
3 years, 8 months ago (2017-04-18 21:17:59 UTC) #6
rmacnak
On 2017/04/18 21:17:59, siva wrote: > lgtm > > https://codereview.chromium.org/2823873003/diff/60001/runtime/vm/clustered_snapshot.h > File runtime/vm/clustered_snapshot.h (right): > ...
3 years, 8 months ago (2017-04-18 23:48:14 UTC) #7
rmacnak
3 years, 8 months ago (2017-04-19 17:03:51 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
17e43f284b05f037cd567ea7b038907987b7aff7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698