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

Issue 238063011: Modify the Weak Reference Set creation API to make it easier to create (Closed)

Created:
6 years, 8 months ago by siva
Modified:
6 years, 8 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Modify the Weak Reference Set creation API to make it easier to create these sets in the GC Prologue code. When this new API is not used in dartium: Without prolog callbacks in New gen GC: dom-modify createElement runs-per-second 260.94890510948903 dom-modify createTextNode runs-per-second 172.0 With prolog callbacks in New gen GC: dom-modify createElement runs-per-second 316.0 dom-modify createTextNode runs-per-second 197.60479041916167 When this new API is used in dartium: Without prolog callbacks in New gen GC: dom-modify createElement runs-per-second 310.0 dom-modify createTextNode runs-per-second 174.4765702891326 With prolog callbacks in New gen GC: dom-modify createElement runs-per-second 416.0 dom-modify createTextNode runs-per-second 241.75824175824175 R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=35215

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -205 lines) Patch
M runtime/include/dart_api.h View 1 2 3 4 5 6 1 chunk +70 lines, -11 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 6 2 chunks +60 lines, -23 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 5 6 9 chunks +89 lines, -63 lines 0 comments Download
M runtime/vm/dart_api_state.h View 1 2 3 4 5 6 4 chunks +140 lines, -86 lines 0 comments Download
M runtime/vm/gc_marker.cc View 1 2 3 4 5 6 7 2 chunks +20 lines, -11 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 5 6 7 2 chunks +20 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
siva
6 years, 8 months ago (2014-04-17 23:06:17 UTC) #1
Ivan Posva
As discussed this can be further simplified. -Ivan https://codereview.chromium.org/238063011/diff/80001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/238063011/diff/80001/runtime/include/dart_api.h#newcode536 runtime/include/dart_api.h:536: * ...
6 years, 8 months ago (2014-04-17 23:47:44 UTC) #2
siva
Addressed comments, PTAL. https://codereview.chromium.org/238063011/diff/80001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/238063011/diff/80001/runtime/include/dart_api.h#newcode536 runtime/include/dart_api.h:536: * \returns a handle to the ...
6 years, 8 months ago (2014-04-21 18:04:14 UTC) #3
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/238063011/diff/110001/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/238063011/diff/110001/runtime/vm/scavenger.cc#newcode542 runtime/vm/scavenger.cc:542: // All weak reference sets are zone ...
6 years, 8 months ago (2014-04-21 18:14:14 UTC) #4
siva
https://codereview.chromium.org/238063011/diff/110001/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/238063011/diff/110001/runtime/vm/scavenger.cc#newcode542 runtime/vm/scavenger.cc:542: // All weak reference sets are zone allocated and ...
6 years, 8 months ago (2014-04-21 18:28:53 UTC) #5
siva
6 years, 8 months ago (2014-04-21 18:31:22 UTC) #6
Message was sent while issue was closed.
Committed patchset #8 manually as r35215 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698