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

Issue 186003002: Pass in the isolate parameter to the weak persistent callback handler so that (Closed)

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

Description

Pass in the isolate parameter to the weak persistent callback handler so that there is no need to access the current isolate in the callback and delete path (this code is run while a GC is in progress). See https://codereview.chromium.org/185643003/ for corresponding changes in dartium R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=33282

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -57 lines) Patch
M runtime/bin/dartutils.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M runtime/bin/io_buffer.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 4 chunks +16 lines, -14 lines 0 comments Download
M runtime/lib/typed_data.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 5 chunks +14 lines, -9 lines 0 comments Download
M runtime/vm/dart_api_state.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/gc_marker.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/handles.h View 1 2 1 chunk +9 lines, -2 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/object.h View 1 2 5 chunks +15 lines, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 2 6 chunks +22 lines, -12 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/verifier.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
siva
6 years, 9 months ago (2014-03-03 20:39:36 UTC) #1
Ivan Posva
LGTM -ip
6 years, 9 months ago (2014-03-03 21:19:58 UTC) #2
siva
6 years, 9 months ago (2014-03-04 18:11:26 UTC) #3
Message was sent while issue was closed.
Committed patchset #3 manually as r33282 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698