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

Issue 1686773002: Precompilation: drop unused types and type arguments and empty classes and libraries. (Closed)

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

Precompilation: drop unused types and type arguments and empty classes and libraries. precompiled dart2js arm 20748837 -> 20639848 (-0.52%) precompiled flutter asteriods arm64 8926398 -> 8782136 (-1.6%) R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/4b112c6d25fa714ad1fa4060a3d4bc4cc40c54eb

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+534 lines, -102 lines) Patch
M runtime/vm/class_table.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/class_table.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/vm/precompiler.h View 1 2 3 4 5 6 7 8 4 chunks +87 lines, -1 line 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 4 5 6 7 8 20 chunks +392 lines, -91 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -4 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 6 7 8 5 chunks +18 lines, -2 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
rmacnak
4 years, 10 months ago (2016-02-19 01:44:51 UTC) #7
regis
LGTM with comments https://codereview.chromium.org/1686773002/diff/120001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/1686773002/diff/120001/runtime/vm/precompiler.cc#newcode565 runtime/vm/precompiler.cc:565: AddType(type); I am not sure, but ...
4 years, 10 months ago (2016-02-19 20:54:07 UTC) #8
rmacnak
PTAL. Also tracing the type arguments of const objects. https://codereview.chromium.org/1686773002/diff/120001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/1686773002/diff/120001/runtime/vm/precompiler.cc#newcode565 runtime/vm/precompiler.cc:565: ...
4 years, 10 months ago (2016-02-20 01:35:39 UTC) #9
regis
LGTM https://codereview.chromium.org/1686773002/diff/140001/runtime/vm/precompiler.h File runtime/vm/precompiler.h (right): https://codereview.chromium.org/1686773002/diff/140001/runtime/vm/precompiler.h#newcode204 runtime/vm/precompiler.h:204: return key->token_pos().value(); So the hash does not work?
4 years, 10 months ago (2016-02-22 15:44:03 UTC) #10
rmacnak
https://codereview.chromium.org/1686773002/diff/140001/runtime/vm/precompiler.h File runtime/vm/precompiler.h (right): https://codereview.chromium.org/1686773002/diff/140001/runtime/vm/precompiler.h#newcode204 runtime/vm/precompiler.h:204: return key->token_pos().value(); On 2016/02/22 15:44:03, regis wrote: > So ...
4 years, 10 months ago (2016-02-22 22:03:46 UTC) #11
rmacnak
4 years, 10 months ago (2016-02-22 22:05:10 UTC) #13
Message was sent while issue was closed.
Committed patchset #10 (id:180001) manually as
4b112c6d25fa714ad1fa4060a3d4bc4cc40c54eb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698