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

Issue 9655011: Implement prologue weak persistent handles. (Closed)

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

Description

Implement prologue weak persistent handles. Prologue weak persistent handles are similar to weak persistent handles but exhibit different behavior during garbage collections that invoke the prologue and epilogue callbacks. While weak persistent handles always weakly reference their referents, prologue weak persistent handles weakly reference their referents only during a garbage collection occurs that invokes the prologue and epilogue callbacks. During all other garbage collections, prologue weak persistent handles strongly reference their referents. Committed: https://code.google.com/p/dart/source/detail?r=5445

Patch Set 1 #

Patch Set 2 : minor pre-review changes #

Total comments: 12

Patch Set 3 : address review comments #

Total comments: 1

Patch Set 4 : final revision #

Unified diffs Side-by-side diffs Delta from patch set Stats (+386 lines, -120 lines) Patch
M runtime/include/dart_api.h View 1 2 3 2 chunks +46 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.h View 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 6 chunks +70 lines, -19 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_state.h View 10 chunks +75 lines, -41 lines 0 comments Download
M runtime/vm/gc_marker.h View 1 chunk +11 lines, -5 lines 0 comments Download
M runtime/vm/gc_marker.cc View 3 chunks +29 lines, -17 lines 0 comments Download
M runtime/vm/heap.h View 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 2 chunks +19 lines, -7 lines 0 comments Download
M runtime/vm/isolate.h View 1 chunk +6 lines, -2 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/pages.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/pages.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 7 chunks +31 lines, -12 lines 0 comments Download
M runtime/vm/verifier.cc View 1 2 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
cshapiro
8 years, 9 months ago (2012-03-08 23:44:00 UTC) #1
siva
lgtm https://chromiumcodereview.appspot.com/9655011/diff/36/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://chromiumcodereview.appspot.com/9655011/diff/36/runtime/include/dart_api.h#newcode260 runtime/include/dart_api.h:260: * epilogue callbacks. I like the description you ...
8 years, 9 months ago (2012-03-09 21:48:41 UTC) #2
cshapiro
PTAL http://codereview.chromium.org/9655011/diff/36/runtime/include/dart_api.h File runtime/include/dart_api.h (right): http://codereview.chromium.org/9655011/diff/36/runtime/include/dart_api.h#newcode260 runtime/include/dart_api.h:260: * epilogue callbacks. I replaced the comment above ...
8 years, 9 months ago (2012-03-13 23:06:43 UTC) #3
siva
8 years, 9 months ago (2012-03-13 23:34:30 UTC) #4
lgtm

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

http://codereview.chromium.org/9655011/diff/8001/runtime/include/dart_api.h#n...
runtime/include/dart_api.h:271: * only during a garbage collection occurs that
invokes the prologue
garbage collection that invokes ....

Powered by Google App Engine
This is Rietveld 408576698