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

Issue 1331033003: Add tracking of open processes to the new io resource tracking. (Closed)

Created:
5 years, 3 months ago by ricow1
Modified:
5 years, 3 months ago
Reviewers:
Søren Gjesse, Cutch
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add tracking of open processes to the new io resource tracking. I plan on refactoring the io_resource_info.dart file a bit in a follow up, but I keept this simple I also plan on adding some sort of sanity checking when the vm exits, to make sure all 3 maps are empty (in debug mode) This fixes issue #24314, before we would hold on to process that failed to start running in the _processes map. Closes #24314 BUG= R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/38b579fa783b1ecc5d3e0b6945c5b31ca539615b

Patch Set 1 #

Patch Set 2 : startedAt #

Total comments: 14

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -47 lines) Patch
M runtime/bin/process_patch.dart View 1 2 7 chunks +16 lines, -39 lines 0 comments Download
A runtime/observatory/tests/service/process_service_test.dart View 1 2 1 chunk +123 lines, -0 lines 0 comments Download
M sdk/lib/io/io_resource_info.dart View 1 2 4 chunks +66 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
ricow1
5 years, 3 months ago (2015-09-10 13:20:32 UTC) #2
Cutch
LGTM with some nits https://codereview.chromium.org/1331033003/diff/20001/runtime/observatory/tests/service/process_service_test.dart File runtime/observatory/tests/service/process_service_test.dart (right): https://codereview.chromium.org/1331033003/diff/20001/runtime/observatory/tests/service/process_service_test.dart#newcode64 runtime/observatory/tests/service/process_service_test.dart:64: var all = await isolate.invokeRpcNoUpgrade('__getStartedProcesses', ...
5 years, 3 months ago (2015-09-10 16:49:41 UTC) #4
Søren Gjesse
https://codereview.chromium.org/1331033003/diff/20001/runtime/observatory/tests/service/process_service_test.dart File runtime/observatory/tests/service/process_service_test.dart (right): https://codereview.chromium.org/1331033003/diff/20001/runtime/observatory/tests/service/process_service_test.dart#newcode50 runtime/observatory/tests/service/process_service_test.dart:50: void expectTimeBiggerThanZero(time) { This function is not used in ...
5 years, 3 months ago (2015-09-10 17:43:35 UTC) #5
ricow1
thanks for comments, updated accordingly https://codereview.chromium.org/1331033003/diff/20001/runtime/observatory/tests/service/process_service_test.dart File runtime/observatory/tests/service/process_service_test.dart (right): https://codereview.chromium.org/1331033003/diff/20001/runtime/observatory/tests/service/process_service_test.dart#newcode50 runtime/observatory/tests/service/process_service_test.dart:50: void expectTimeBiggerThanZero(time) { On ...
5 years, 3 months ago (2015-09-14 07:01:17 UTC) #6
ricow1
5 years, 3 months ago (2015-09-14 10:54:44 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
38b579fa783b1ecc5d3e0b6945c5b31ca539615b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698