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

Issue 1030013002: Shutdown the service isolate when shutting down the VM (Closed)

Created:
5 years, 9 months ago by Cutch
Modified:
5 years, 9 months ago
Reviewers:
zra, kasperl
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Shutdown the service isolate when shutting down the VM - Add a service control message to initiate service isolate shutdown. - Provide a callback for the embedder to do any service isolate cleanup. - Dart_Cleanup will now block until the service isolate shuts down. R=zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=44685

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -8 lines) Patch
M runtime/bin/builtin.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/server.dart View 1 2 chunks +8 lines, -1 line 0 comments Download
M runtime/bin/vmservice/vmservice_io.dart View 1 2 chunks +17 lines, -5 lines 1 comment Download
M runtime/vm/dart.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/service/constants.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/service/vmservice.dart View 1 4 chunks +24 lines, -2 lines 0 comments Download
M runtime/vm/service_isolate.h View 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/service_isolate.cc View 1 9 chunks +91 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Cutch
5 years, 9 months ago (2015-03-24 21:03:04 UTC) #2
zra
https://codereview.chromium.org/1030013002/diff/1/runtime/bin/vmservice/server.dart File runtime/bin/vmservice/server.dart (right): https://codereview.chromium.org/1030013002/diff/1/runtime/bin/vmservice/server.dart#newcode183 runtime/bin/vmservice/server.dart:183: close(bool force) { Return type https://codereview.chromium.org/1030013002/diff/1/runtime/bin/vmservice/vmservice_io.dart File runtime/bin/vmservice/vmservice_io.dart (right): ...
5 years, 9 months ago (2015-03-24 21:53:59 UTC) #3
Cutch
https://codereview.chromium.org/1030013002/diff/1/runtime/bin/vmservice/server.dart File runtime/bin/vmservice/server.dart (right): https://codereview.chromium.org/1030013002/diff/1/runtime/bin/vmservice/server.dart#newcode183 runtime/bin/vmservice/server.dart:183: close(bool force) { On 2015/03/24 21:53:59, zra wrote: > ...
5 years, 9 months ago (2015-03-24 23:39:08 UTC) #4
zra
lgtm
5 years, 9 months ago (2015-03-25 15:07:11 UTC) #5
Cutch
Committed patchset #2 (id:20001) manually as 44685 (presubmit successful).
5 years, 9 months ago (2015-03-25 15:50:34 UTC) #6
kasperl
5 years, 9 months ago (2015-03-27 07:50:56 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/1030013002/diff/20001/runtime/bin/vmservice/v...
File runtime/bin/vmservice/vmservice_io.dart (right):

https://codereview.chromium.org/1030013002/diff/20001/runtime/bin/vmservice/v...
runtime/bin/vmservice/vmservice_io.dart:34: server.close(true).catchError((e,
st) => assert(e));
This is illegal syntax (assert isn't an expression) and it just broke our dev
channel build. I filed https://code.google.com/p/dart/issues/detail?id=23013 as
a request for doing static analysis on this code on every commit to catch such
errors a bit earlier.

Powered by Google App Engine
This is Rietveld 408576698