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

Issue 1095903002: Deal with deferred loading in the VM mirrors. (Closed)

Created:
5 years, 8 months ago by rmacnak
Modified:
5 years, 7 months ago
Reviewers:
gbracha, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Deal with deferred loading in the VM mirrors. - Invalidate MirrorSystem.libraries when a load completes. - Recheck if a deferred import's target has been loaded before failing. - Allow loading libraries from a LibraryDepedencyMirror. - Propogate compile-time error when attempting to reflect a deferred type. BUG=http://dartbug.com/22592 R=asiva@google.com, gbracha@google.com Committed: https://code.google.com/p/dart/source/detail?r=45444

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 4

Patch Set 4 : MirrorSystem.libraries #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -89 lines) Patch
M pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/mirrors/source_mirrors.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/lib/mirrors.cc View 1 2 3 4 19 chunks +62 lines, -53 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 4 7 chunks +43 lines, -31 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M sdk/lib/mirrors/mirrors.dart View 1 2 3 4 chunks +13 lines, -3 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 chunks +5 lines, -0 lines 0 comments Download
A + tests/lib/mirrors/deferred_type_other.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A tests/lib/mirrors/deferred_type_test.dart View 1 chunk +18 lines, -0 lines 0 comments Download
A tests/lib/mirrors/library_enumeration_deferred_loading_test.dart View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A tests/lib/mirrors/library_import_deferred_loading_test.dart View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A tests/lib/mirrors/load_library_test.dart View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
rmacnak
5 years, 8 months ago (2015-04-18 00:50:58 UTC) #2
gbracha
Minor comments and questions. https://codereview.chromium.org/1095903002/diff/20001/pkg/compiler/lib/src/mirrors/source_mirrors.dart File pkg/compiler/lib/src/mirrors/source_mirrors.dart (right): https://codereview.chromium.org/1095903002/diff/20001/pkg/compiler/lib/src/mirrors/source_mirrors.dart#newcode146 pkg/compiler/lib/src/mirrors/source_mirrors.dart:146: /*Future<LibraryMirror>*/ loadLibrary(); shouldn't there be ...
5 years, 8 months ago (2015-04-18 18:00:46 UTC) #3
rmacnak
https://codereview.chromium.org/1095903002/diff/20001/pkg/compiler/lib/src/mirrors/source_mirrors.dart File pkg/compiler/lib/src/mirrors/source_mirrors.dart (right): https://codereview.chromium.org/1095903002/diff/20001/pkg/compiler/lib/src/mirrors/source_mirrors.dart#newcode146 pkg/compiler/lib/src/mirrors/source_mirrors.dart:146: /*Future<LibraryMirror>*/ loadLibrary(); On 2015/04/18 18:00:46, gbracha wrote: > shouldn't ...
5 years, 8 months ago (2015-04-20 17:21:04 UTC) #4
gbracha
tests, API lgtm
5 years, 8 months ago (2015-04-20 20:34:36 UTC) #5
siva
LGTM with one comment regarding the API https://codereview.chromium.org/1095903002/diff/40001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/1095903002/diff/40001/runtime/lib/mirrors.cc#newcode24 runtime/lib/mirrors.cc:24: } }) ...
5 years, 8 months ago (2015-04-22 17:28:00 UTC) #6
rmacnak
https://codereview.chromium.org/1095903002/diff/40001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/1095903002/diff/40001/runtime/lib/mirrors.cc#newcode24 runtime/lib/mirrors.cc:24: } }) \ On 2015/04/22 17:28:00, siva wrote: > ...
5 years, 8 months ago (2015-04-22 18:05:44 UTC) #7
rmacnak
5 years, 7 months ago (2015-04-28 23:48:00 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as 45444 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698