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

Issue 15772005: - Add different types for persistent and weak persistent handles (Closed)

Created:
7 years, 7 months ago by Ivan Posva
Modified:
7 years, 6 months ago
Reviewers:
Anton Muhin, siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Add different types for persistent and weak persistent handles in the Dart C API. - Adapt code in the runtime. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=23421

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Total comments: 13

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+709 lines, -656 lines) Patch
M runtime/bin/common.cc View 1 2 3 4 1 chunk +22 lines, -22 lines 0 comments Download
M runtime/bin/io_buffer.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/io_buffer.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/bin/isolate_data.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/bin/secure_socket.h View 1 2 3 4 2 chunks +8 lines, -6 lines 0 comments Download
M runtime/bin/secure_socket.cc View 1 2 3 4 6 chunks +31 lines, -23 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 4 8 chunks +32 lines, -29 lines 0 comments Download
M runtime/lib/mirrors.cc View 1 2 3 4 4 chunks +15 lines, -15 lines 0 comments Download
M runtime/lib/typed_data.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.h View 1 2 3 4 5 chunks +14 lines, -14 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 82 chunks +173 lines, -217 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 25 chunks +362 lines, -268 lines 0 comments Download
M runtime/vm/dart_api_state.h View 1 2 3 4 6 chunks +11 lines, -29 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 1 2 3 4 15 chunks +15 lines, -15 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 4 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/unit_test.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Ivan Posva
Suggested API (needs cleanup and documentation) for addition of Dart_PersistentHandle and Dart_WeakPersistentHandle. -Ivan P.S. Still ...
7 years, 7 months ago (2013-05-22 22:49:27 UTC) #1
Anton Muhin
thanks! https://codereview.chromium.org/15772005/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/15772005/diff/1/runtime/include/dart_api.h#newcode1766 runtime/include/dart_api.h:1766: * Returns a TypedData object which references an ...
7 years, 7 months ago (2013-05-23 17:18:03 UTC) #2
Ivan Posva
Anton, This version now passes all tests. Please let us know whether this revised API ...
7 years, 7 months ago (2013-05-25 00:36:50 UTC) #3
Anton Muhin
I've got a CL which switches Dartium to new API https://codereview.chromium.org/15772005/diff/24001/runtime/include/dart_api.h File runtime/include/dart_api.h (left): https://codereview.chromium.org/15772005/diff/24001/runtime/include/dart_api.h#oldcode1779 ...
7 years, 7 months ago (2013-05-27 15:45:49 UTC) #4
siva
lgtm https://codereview.chromium.org/15772005/diff/24001/runtime/bin/secure_socket.cc File runtime/bin/secure_socket.cc (right): https://codereview.chromium.org/15772005/diff/24001/runtime/bin/secure_socket.cc#newcode342 runtime/bin/secure_socket.cc:342: ASSERT(bad_certificate_callback_ != NULL); Why has this been changed ...
7 years, 6 months ago (2013-05-28 17:37:17 UTC) #5
Ivan Posva
https://codereview.chromium.org/15772005/diff/24001/runtime/bin/secure_socket.cc File runtime/bin/secure_socket.cc (right): https://codereview.chromium.org/15772005/diff/24001/runtime/bin/secure_socket.cc#newcode342 runtime/bin/secure_socket.cc:342: ASSERT(bad_certificate_callback_ != NULL); On 2013/05/28 17:37:18, siva wrote: > ...
7 years, 6 months ago (2013-05-28 21:12:20 UTC) #6
Anton Muhin
Ivan, let's coordinate on launching. https://codereview.chromium.org/15772005/diff/24001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/15772005/diff/24001/runtime/include/dart_api.h#newcode473 runtime/include/dart_api.h:473: Dart_WeakPersistentHandle* keys, Yes, that's ...
7 years, 6 months ago (2013-05-29 07:43:12 UTC) #7
Ivan Posva
7 years, 6 months ago (2013-05-30 15:56:11 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r23421 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698