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

Issue 19496003: Make ClassMirror.members internal-native and lazy. (Closed)

Created:
7 years, 5 months ago by rmacnak
Modified:
7 years, 5 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, ahe, Michael Lippautz (Google)
Visibility:
Public.

Description

Make ClassMirror.members internal-native and lazy. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=25384

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -9 lines) Patch
M runtime/lib/mirrors.cc View 1 3 chunks +45 lines, -5 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 5 chunks +19 lines, -4 lines 2 comments Download
M runtime/vm/bootstrap_natives.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rmacnak
Starting to improve currentMirrorSystem(), approx. 195 -> 104 ms. https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc#newcode1311 runtime/lib/mirrors.cc:1311: ...
7 years, 5 months ago (2013-07-23 01:15:37 UTC) #1
siva
https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc#newcode1320 runtime/lib/mirrors.cc:1320: // not wind up as the reflectees of ClassMirrors. ...
7 years, 5 months ago (2013-07-23 21:14:39 UTC) #2
rmacnak
https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc#newcode1320 runtime/lib/mirrors.cc:1320: // not wind up as the reflectees of ClassMirrors. ...
7 years, 5 months ago (2013-07-23 22:57:34 UTC) #3
siva
lgtm https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/19496003/diff/8001/runtime/lib/mirrors.cc#newcode1320 runtime/lib/mirrors.cc:1320: // not wind up as the reflectees of ...
7 years, 5 months ago (2013-07-23 23:37:07 UTC) #4
rmacnak
Committed patchset #2 manually as r25384 (presubmit successful).
7 years, 5 months ago (2013-07-23 23:54:20 UTC) #5
ahe
7 years, 5 months ago (2013-07-24 10:11:53 UTC) #6
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/19496003/diff/14001/runtime/lib/mirrors_impl....
File runtime/lib/mirrors_impl.dart (right):

https://codereview.chromium.org/19496003/diff/14001/runtime/lib/mirrors_impl....
runtime/lib/mirrors_impl.dart:23: Map<Symbol, dynamic> result = new Map();
I think it is more important to have the type on the right-hand side. This type
is reified and used in checked mode.

https://codereview.chromium.org/19496003/diff/14001/runtime/lib/mirrors_impl....
runtime/lib/mirrors_impl.dart:638: Map<Symbol, Mirror> get members => const {};
Add type arguments.

Powered by Google App Engine
This is Rietveld 408576698