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

Issue 1386023002: Resolve ordering issues. (Closed)

Created:
5 years, 2 months ago by Leaf
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org, vsm
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Resolve ordering issues. This CL changes the way that the task model does strong mode inference to use the strongly connected components in the import/export graph. Library cycles are computed and inference is staged by forcing each stage of inference to happen across an entire library cycle at once, and to force all external dependencies of a library cycle to have completed inference before inference for the library cycle can begin. BUG= R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/651221bb8215251959c67719778d4e8f54dd8d28

Patch Set 1 #

Total comments: 11

Patch Set 2 : Small fixes #

Total comments: 20

Patch Set 3 : Address comments, fix cache invalidation issue #

Patch Set 4 : Alphebetize #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1429 lines, -625 lines) Patch
M pkg/analysis_server/lib/src/status/get_handler.dart View 1 2 3 3 chunks +3 lines, -5 lines 0 comments Download
M pkg/analyzer/lib/src/context/context.dart View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/generated/element.dart View 3 chunks +73 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/incremental_resolver.dart View 1 2 3 4 chunks +5 lines, -7 lines 1 comment Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/plugin/engine_plugin.dart View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 1 2 41 chunks +376 lines, -198 lines 1 comment Download
M pkg/analyzer/lib/src/task/dart_work_manager.dart View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_test.dart View 1 2 31 chunks +963 lines, -406 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Leaf
Hi Guys - Please take a look. This implements the approach that we've discussed. There ...
5 years, 2 months ago (2015-10-06 00:14:58 UTC) #2
Brian Wilkerson
Sorry for the delay in getting this review done. https://codereview.chromium.org/1386023002/diff/1/pkg/analyzer/lib/src/context/context.dart File pkg/analyzer/lib/src/context/context.dart (left): https://codereview.chromium.org/1386023002/diff/1/pkg/analyzer/lib/src/context/context.dart#oldcode1231 pkg/analyzer/lib/src/context/context.dart:1231: ...
5 years, 2 months ago (2015-10-06 19:04:47 UTC) #3
Leaf
Thanks for the comments, working on addressing. I think I'll need some help understanding the ...
5 years, 2 months ago (2015-10-06 20:30:55 UTC) #4
Leaf
PTAL, thanks! https://codereview.chromium.org/1386023002/diff/1/pkg/analyzer/lib/src/task/dart.dart File pkg/analyzer/lib/src/task/dart.dart (right): https://codereview.chromium.org/1386023002/diff/1/pkg/analyzer/lib/src/task/dart.dart#newcode1870 pkg/analyzer/lib/src/task/dart.dart:1870: 'resolveReachableLibraries': new _ImportExportSourceClosureTaskInput( On 2015/10/06 19:04:46, Brian ...
5 years, 2 months ago (2015-10-07 18:53:55 UTC) #5
Brian Wilkerson
LGTM https://codereview.chromium.org/1386023002/diff/50001/pkg/analyzer/lib/src/task/dart.dart File pkg/analyzer/lib/src/task/dart.dart (right): https://codereview.chromium.org/1386023002/diff/50001/pkg/analyzer/lib/src/task/dart.dart#newcode445 pkg/analyzer/lib/src/task/dart.dart:445: * is true of a [RESOLVED_UNIT8]. nit: "8" ...
5 years, 2 months ago (2015-10-07 22:56:56 UTC) #6
Leaf
5 years, 2 months ago (2015-10-07 23:14:41 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:50001) manually as
651221bb8215251959c67719778d4e8f54dd8d28 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698