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

Issue 8984006: Implement weak persistent handles in the Dart API. (Closed)

Created:
9 years ago by cshapiro
Modified:
9 years ago
Reviewers:
turnidge, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Implement weak persistent handles in the Dart API. Committed: https://code.google.com/p/dart/source/detail?r=2607

Patch Set 1 #

Patch Set 2 : Fix whitespace. #

Total comments: 8

Patch Set 3 : Address review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -71 lines) Patch
M runtime/include/dart_api.h View 1 2 3 chunks +11 lines, -12 lines 1 comment Download
M runtime/vm/dart_api_impl.cc View 1 2 3 chunks +29 lines, -10 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_state.h View 1 2 9 chunks +73 lines, -17 lines 0 comments Download
M runtime/vm/dart_api_state.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/gc_marker.h View 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/gc_marker.cc View 2 chunks +33 lines, -4 lines 0 comments Download
M runtime/vm/handles.h View 3 chunks +15 lines, -0 lines 0 comments Download
M runtime/vm/handles_impl.h View 2 chunks +31 lines, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 3 chunks +15 lines, -1 line 0 comments Download
M runtime/vm/scavenger.h View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/scavenger.cc View 5 chunks +67 lines, -25 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
cshapiro
9 years ago (2011-12-17 04:10:48 UTC) #1
Ivan Posva
http://codereview.chromium.org/8984006/diff/2001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/8984006/diff/2001/runtime/vm/dart_api_impl.cc#newcode512 runtime/vm/dart_api_impl.cc:512: Dart_PeerFinalizer callback) { We will need to add the ...
9 years ago (2011-12-19 22:41:35 UTC) #2
cshapiro
PTAL http://codereview.chromium.org/8984006/diff/2001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/8984006/diff/2001/runtime/vm/dart_api_impl.cc#newcode512 runtime/vm/dart_api_impl.cc:512: Dart_PeerFinalizer callback) { Sure. I was going to ...
9 years ago (2011-12-20 00:58:57 UTC) #3
Ivan Posva
9 years ago (2011-12-20 01:32:34 UTC) #4
LGTM -ip

http://codereview.chromium.org/8984006/diff/8001/runtime/include/dart_api.h
File runtime/include/dart_api.h (right):

http://codereview.chromium.org/8984006/diff/8001/runtime/include/dart_api.h#n...
runtime/include/dart_api.h:98: typedef void (*Dart_PeerFinalizer)(void* peer);
As discussed we should add the Dart_Handle to this as well. Next change though.

Powered by Google App Engine
This is Rietveld 408576698