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

Issue 507913003: Create isolates in a separate thread. (Closed)

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

Description

Create isolates in a separate thread. Previously the parent isolate waited for the child isolate to fully load, which was not ideal. This change fixes that. If you run on mac, you may need to raise your open file limit to make mandel_isolate_test pass: ulimit -n 1024 Default open file limit on the mac is low. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=39617

Patch Set 1 #

Total comments: 6

Patch Set 2 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -79 lines) Patch
M runtime/lib/isolate.cc View 1 5 chunks +62 lines, -56 lines 0 comments Download
M runtime/lib/isolate_patch.dart View 1 2 chunks +22 lines, -22 lines 0 comments Download
M runtime/vm/isolate.h View 3 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/isolate_test.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
turnidge
turnidge@google.com changed reviewers: + johnmccutchan@google.com
6 years, 3 months ago (2014-08-27 17:50:51 UTC) #1
turnidge
6 years, 3 months ago (2014-08-27 17:50:52 UTC) #2
Cutch
I wonder if the ulimit -n 1024 could be incorporated into test.py on Mac. https://codereview.chromium.org/507913003/diff/1/runtime/lib/isolate.cc ...
6 years, 3 months ago (2014-08-27 18:18:43 UTC) #3
Cutch
lgtm
6 years, 3 months ago (2014-08-27 18:31:35 UTC) #4
turnidge
https://codereview.chromium.org/507913003/diff/1/runtime/lib/isolate.cc File runtime/lib/isolate.cc (right): https://codereview.chromium.org/507913003/diff/1/runtime/lib/isolate.cc#newcode147 runtime/lib/isolate.cc:147: ReportError("Isolate spawn is not supported in this Dart embedding.\n"); ...
6 years, 3 months ago (2014-08-27 19:28:59 UTC) #5
turnidge
6 years, 3 months ago (2014-08-27 19:47:10 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 39617 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698