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

Issue 24376005: - Added Dart_GetNativeIsolateData so that the bindings code can access the IsolateCurrentData (Closed)

Created:
7 years, 3 months ago by siva
Modified:
7 years, 3 months ago
Reviewers:
vsm, rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Added Dart_GetNativeIsolateData so that the bindings code can access the IsolateCurrentData where possible without having to invoke Isolate::Current() - Modified lookupWrapper to accept DartDOMData as a parameter so that the return to Dart functions won't invoke Isolate::Current() Some Dromaeo numbers before this change: CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr getAttribute runs-per-second 1162.2 CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr element_property_access runs-per-second 1255.6 after this change: CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr getAttribute runs-per-second 1237.6 CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr element_property_access runs-per-second 1385.4 R=rmacnak@google.com, vsm@google.com Committed: https://code.google.com/p/dart/source/detail?r=27789

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -7 lines) Patch
M runtime/include/dart_api.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/zone.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M tools/dom/scripts/systemnative.py View 1 chunk +8 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
siva
7 years, 3 months ago (2013-09-23 20:45:46 UTC) #1
vsm
lgtm
7 years, 3 months ago (2013-09-23 22:07:47 UTC) #2
rmacnak
lgtm
7 years, 3 months ago (2013-09-23 22:18:50 UTC) #3
siva
7 years, 3 months ago (2013-09-23 23:53:44 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r27789 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698