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

Issue 18242003: Add a VM defined class MirrorReference as an opaque pointer for Dart code to VM internal objects. (Closed)

Created:
7 years, 5 months ago by rmacnak
Modified:
7 years, 5 months ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a VM defined class VMReference as an opaque pointer for Dart code to VM internal objects. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=24694

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -0 lines) Patch
A runtime/lib/mirror_reference.dart View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/lib/mirrors_sources.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 1 chunk +22 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 3 chunks +35 lines, -0 lines 0 comments Download
M runtime/vm/object_store.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/object_store.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 2 chunks +15 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rmacnak
7 years, 5 months ago (2013-06-29 00:33:13 UTC) #1
siva
some initial comments. https://chromiumcodereview.appspot.com/18242003/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://chromiumcodereview.appspot.com/18242003/diff/1/runtime/lib/mirrors.cc#newcode128 runtime/lib/mirrors.cc:128: Dart_Handle cls_name = NewString("OldVMReference"); VMReference for ...
7 years, 5 months ago (2013-06-30 01:12:48 UTC) #2
rmacnak
https://chromiumcodereview.appspot.com/18242003/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://chromiumcodereview.appspot.com/18242003/diff/1/runtime/lib/mirrors.cc#newcode128 runtime/lib/mirrors.cc:128: Dart_Handle cls_name = NewString("OldVMReference"); On 2013/06/30 01:12:48, siva wrote: ...
7 years, 5 months ago (2013-07-01 15:50:28 UTC) #3
rmacnak
https://chromiumcodereview.appspot.com/18242003/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://chromiumcodereview.appspot.com/18242003/diff/1/runtime/vm/object.cc#newcode13689 runtime/vm/object.cc:13689: } On 2013/06/30 01:12:48, siva wrote: > Need to ...
7 years, 5 months ago (2013-07-01 18:35:49 UTC) #4
rmacnak
Renamed to more intention-revealing MirrorReference. Asserted (de)serialization unreachable.
7 years, 5 months ago (2013-07-01 20:17:55 UTC) #5
rmacnak
Make MirrorReference's constructor private. Put MirrorReference in dart:mirrors rather than dart:core.
7 years, 5 months ago (2013-07-01 23:48:24 UTC) #6
siva
LGTM with some comments. https://chromiumcodereview.appspot.com/18242003/diff/45001/runtime/lib/mirror_reference.dart File runtime/lib/mirror_reference.dart (right): https://chromiumcodereview.appspot.com/18242003/diff/45001/runtime/lib/mirror_reference.dart#newcode1 runtime/lib/mirror_reference.dart:1: // Copyright (c) 2012, the ...
7 years, 5 months ago (2013-07-02 01:07:11 UTC) #7
rmacnak
Stronger guard against MirrorReference instantiation. Additional clause in object_test.cc. Comment on RawMirrorReference.
7 years, 5 months ago (2013-07-02 16:17:08 UTC) #8
rmacnak
7 years, 5 months ago (2013-07-02 16:17:32 UTC) #9
Message was sent while issue was closed.
Committed patchset #7 manually as r24694 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698