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

Issue 2052343002: Fix dead lock in isolate shutdown. (Closed)

Created:
4 years, 6 months ago by Florian Schneider
Modified:
4 years, 6 months ago
Reviewers:
zra
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 dead lock in isolate shutdown. The service isolate is shutdown after the application isolates, so that any blocking i/o requests by pending isolate spawn tasks can be handled. BUG=#26684 R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/bbe812f727418b9f2cc92f43bacce4035969008b

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix assertion #

Patch Set 3 : add check for service isolate running #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M runtime/vm/dart.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 chunks +29 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Florian Schneider
4 years, 6 months ago (2016-06-10 21:45:38 UTC) #3
zra
lgtm If this bug is in 1.17 stable, then this fix should be included in ...
4 years, 6 months ago (2016-06-10 21:51:07 UTC) #4
Florian Schneider
https://codereview.chromium.org/2052343002/diff/1/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://codereview.chromium.org/2052343002/diff/1/runtime/vm/dart.cc#newcode323 runtime/vm/dart.cc:323: ASSERT(Isolate::isolates_list_head_ == Dart::vm_isolate()); On 2016/06/10 21:51:07, zra wrote: > ...
4 years, 6 months ago (2016-06-10 21:53:05 UTC) #5
Florian Schneider
On 2016/06/10 21:51:07, zra wrote: > lgtm > > If this bug is in 1.17 ...
4 years, 6 months ago (2016-06-10 21:54:08 UTC) #6
Florian Schneider
Added check for service isolate running.
4 years, 6 months ago (2016-06-10 22:55:06 UTC) #7
Florian Schneider
4 years, 6 months ago (2016-06-10 23:00:23 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
bbe812f727418b9f2cc92f43bacce4035969008b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698