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

Issue 1560853002: Fix Shutdown race. (Closed)

Created:
4 years, 11 months ago by zra
Modified:
4 years, 11 months ago
Reviewers:
turnidge, siva, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix Shutdown race. This CL fixes a race during VM shutdown in which the embedder's isolate creation callback is passed an invalid isolate data pointer. BUG=http://dartbug.org/25351 R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/1ce512b69f5c6d331df585b93280a9978f939eb2

Patch Set 1 #

Patch Set 2 : Make spawn counter per-isolate. #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -20 lines) Patch
M runtime/lib/isolate.cc View 1 7 chunks +35 lines, -15 lines 0 comments Download
M runtime/tests/vm/dart/spawn_shutdown_test.dart View 3 chunks +11 lines, -2 lines 0 comments Download
M runtime/tests/vm/vm.status View 1 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 6 chunks +23 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 9 chunks +39 lines, -1 line 0 comments Download
M runtime/vm/service_isolate.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
zra
4 years, 11 months ago (2016-01-05 22:13:16 UTC) #2
zra
Offline, we discussed instead making this per-isolate so that killing isolates in other ways is ...
4 years, 11 months ago (2016-01-05 23:22:59 UTC) #3
zra
4 years, 11 months ago (2016-01-05 23:45:49 UTC) #5
zra
I have moved the outstanding spawn count to be per-isolate. PTAL.
4 years, 11 months ago (2016-01-06 21:05:20 UTC) #6
siva
The changes itself LGTM. It is unfortunate that we have to use such a heavy ...
4 years, 11 months ago (2016-01-08 02:00:10 UTC) #10
Ivan Posva
On 2016/01/08 02:00:10, siva wrote: > The changes itself LGTM. > > It is unfortunate ...
4 years, 11 months ago (2016-01-08 04:44:50 UTC) #11
zra
4 years, 11 months ago (2016-01-08 20:31:01 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
1ce512b69f5c6d331df585b93280a9978f939eb2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698