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

Issue 456983002: Refactor isolate startup code in preparation for making isolate spawning more truly non-blocking. (Closed)

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

Description

Refactor isolate startup code in preparation for making isolate spawning more truly non-blocking. Instead of passing a startup message to the new isolate, pass all necessary information in to _startIsolate directly. The new isolate sends its control port and capabilities back to the parent. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=39423

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : portmap changes, fixed hang #

Total comments: 9

Patch Set 4 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -172 lines) Patch
M runtime/bin/main.cc View 1 2 1 chunk +10 lines, -17 lines 0 comments Download
M runtime/lib/isolate.cc View 1 2 3 7 chunks +14 lines, -28 lines 0 comments Download
M runtime/lib/isolate_patch.dart View 1 2 3 4 chunks +71 lines, -61 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 2 chunks +16 lines, -2 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 6 chunks +82 lines, -11 lines 0 comments Download
M runtime/vm/message_handler.h View 1 2 2 chunks +1 line, -13 lines 0 comments Download
M runtime/vm/message_handler.cc View 1 2 3 3 chunks +2 lines, -21 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/port.h View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M runtime/vm/port.cc View 1 2 5 chunks +27 lines, -7 lines 0 comments Download
M runtime/vm/port_test.cc View 1 2 2 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
turnidge
6 years, 4 months ago (2014-08-08 22:57:58 UTC) #1
turnidge
Uploaded some new diffs. Ready for a look.
6 years, 4 months ago (2014-08-19 20:17:08 UTC) #2
Ivan Posva
LGTMwC -ip https://codereview.chromium.org/456983002/diff/40001/runtime/lib/isolate_patch.dart File runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/456983002/diff/40001/runtime/lib/isolate_patch.dart#newcode203 runtime/lib/isolate_patch.dart:203: var readyMessage = []; readyMessage = new ...
6 years, 4 months ago (2014-08-19 23:21:31 UTC) #3
turnidge
https://codereview.chromium.org/456983002/diff/40001/runtime/lib/isolate_patch.dart File runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/456983002/diff/40001/runtime/lib/isolate_patch.dart#newcode203 runtime/lib/isolate_patch.dart:203: var readyMessage = []; On 2014/08/19 23:21:31, Ivan Posva ...
6 years, 4 months ago (2014-08-20 19:56:27 UTC) #4
turnidge
6 years, 4 months ago (2014-08-20 19:57:19 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as 39423 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698