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

Issue 12525007: Record dependency information to implement first version of dependency (Closed)

Created:
7 years, 9 months ago by ahe
Modified:
7 years, 9 months ago
Reviewers:
ngeoffray, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Record dependency information to implement first version of dependency graph segmentation for lazy loading. What this means is that a lazily loaded library can depend on stuff in, for example, dart:core without including this in the initial download. Committed: https://code.google.com/p/dart/source/detail?r=19793

Patch Set 1 #

Total comments: 26

Patch Set 2 : Various fixes #

Patch Set 3 : Address review comments #

Total comments: 7

Patch Set 4 : Reduce use of globalDependencies #

Patch Set 5 : Rebased/merged #

Total comments: 12

Patch Set 6 : Only use implementation #

Patch Set 7 : Address comments and only include non-static members from a class #

Patch Set 8 : Merged/rebased #

Patch Set 9 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -221 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart View 1 2 3 4 12 chunks +21 lines, -21 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 3 4 5 6 7 6 chunks +37 lines, -20 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart View 1 2 3 4 5 6 4 chunks +173 lines, -14 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart View 1 2 3 4 5 6 7 3 chunks +2 lines, -3 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/enqueue.dart View 1 2 3 4 7 chunks +26 lines, -13 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 3 4 5 6 7 8 chunks +90 lines, -73 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/native_handler.dart View 1 2 3 4 5 6 7 2 chunks +13 lines, -10 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 3 4 5 6 7 8 31 chunks +67 lines, -46 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/resolution/resolution.dart View 1 chunk +1 line, -1 line 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 3 4 5 6 7 10 chunks +15 lines, -11 lines 0 comments Download
A dart/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ahe
I'll probably follow up with a few minor changes to this CL as I discover ...
7 years, 9 months ago (2013-03-06 09:55:41 UTC) #1
kasperl
Exciting! First round of comments -- will dive into more details shortly. https://codereview.chromium.org/12525007/diff/1/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart File dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart ...
7 years, 9 months ago (2013-03-06 10:26:51 UTC) #2
ahe
Thank you, Kasper. I have addressed your comments and made a few other adjustments based ...
7 years, 9 months ago (2013-03-06 16:01:41 UTC) #3
kasperl
LGTM. https://codereview.chromium.org/12525007/diff/5002/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/12525007/diff/5002/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode855 dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:855: // This is a true global dependency. Extend ...
7 years, 9 months ago (2013-03-06 20:39:43 UTC) #4
ahe
Responding to comments, no new patch set. https://codereview.chromium.org/12525007/diff/5002/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/12525007/diff/5002/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode855 dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:855: // This ...
7 years, 9 months ago (2013-03-06 20:54:02 UTC) #5
ahe
PTAL at patch set #4. https://codereview.chromium.org/12525007/diff/5002/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart File dart/sdk/lib/_internal/compiler/implementation/enqueue.dart (right): https://codereview.chromium.org/12525007/diff/5002/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart#newcode479 dart/sdk/lib/_internal/compiler/implementation/enqueue.dart:479: // TODO(ahe): This doesn't ...
7 years, 9 months ago (2013-03-07 10:24:13 UTC) #6
kasperl
Still LGTM -- actually it looks even better.
7 years, 9 months ago (2013-03-07 10:31:37 UTC) #7
ahe
After I merged with top of tree, the test is no longer passing because I ...
7 years, 9 months ago (2013-03-07 11:00:47 UTC) #8
ngeoffray
LGTM https://codereview.chromium.org/12525007/diff/28001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart File dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart (right): https://codereview.chromium.org/12525007/diff/28001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart#newcode8 dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart:8: import 'dart:collection'; show LinkedHashSet? https://codereview.chromium.org/12525007/diff/28001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart#newcode111 dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart:111: } else ...
7 years, 9 months ago (2013-03-07 11:21:14 UTC) #9
ahe
PTAL at patch set 6 + 7. https://codereview.chromium.org/12525007/diff/28001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart File dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart (right): https://codereview.chromium.org/12525007/diff/28001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart#newcode8 dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart:8: import 'dart:collection'; ...
7 years, 9 months ago (2013-03-11 12:28:01 UTC) #10
ahe
7 years, 9 months ago (2013-03-11 14:27:17 UTC) #11
Message was sent while issue was closed.
Committed patchset #9 manually as r19793 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698