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

Issue 22632010: Added following dart API changes to enable more efficient access based (Closed)

Created:
7 years, 4 months ago by siva
Modified:
7 years, 4 months ago
Reviewers:
vsm, srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Added following dart API changes to enable more efficient access based on the dartium usage pattern: - Dart_GetNativeStringArgument (gets a String object, peer etc. directly from the native arguments) - Dart_SetWeakHandleReturnValue (allows a weak handle to be passed to the return value, this ensures a new local handle does not have to be created from a weak handle just to return a value) - Dart_StringGetProperties (gets some common properties of a string, avoids multiple API calls to set up a native string) R=srdjan@google.com, vsm@google.com Committed: https://code.google.com/p/dart/source/detail?r=26046

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -90 lines) Patch
M runtime/include/dart_api.h View 1 3 chunks +32 lines, -1 line 0 comments Download
M runtime/vm/dart_api_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 7 chunks +73 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 4 chunks +40 lines, -2 lines 0 comments Download
M runtime/vm/isolate.h View 1 1 chunk +1 line, -74 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 chunks +1 line, -10 lines 0 comments Download
M runtime/vm/object.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
A runtime/vm/reusable_handles.h View 1 chunk +144 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
siva
7 years, 4 months ago (2013-08-10 00:13:02 UTC) #1
vsm
lgtm https://chromiumcodereview.appspot.com/22632010/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://chromiumcodereview.appspot.com/22632010/diff/1/runtime/vm/dart_api_impl.cc#newcode1859 runtime/vm/dart_api_impl.cc:1859: const String& str = Api::UnwrapStringHandle(isolate, object); Do you ...
7 years, 4 months ago (2013-08-12 17:59:04 UTC) #2
srdjan
LGTM https://codereview.chromium.org/22632010/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/22632010/diff/1/runtime/vm/dart_api_impl.cc#newcode1862 runtime/vm/dart_api_impl.cc:1862: ASSERT(*peer != 0); Should this be 0 or ...
7 years, 4 months ago (2013-08-12 18:09:57 UTC) #3
siva
https://chromiumcodereview.appspot.com/22632010/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://chromiumcodereview.appspot.com/22632010/diff/1/runtime/vm/dart_api_impl.cc#newcode1859 runtime/vm/dart_api_impl.cc:1859: const String& str = Api::UnwrapStringHandle(isolate, object); On 2013/08/12 17:59:04, ...
7 years, 4 months ago (2013-08-13 01:19:09 UTC) #4
siva
7 years, 4 months ago (2013-08-13 01:19:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r26046 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698