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

Issue 8673002: - Refactor the isolate callback mechanism to also include creation of the (Closed)

Created:
9 years, 1 month ago by siva
Modified:
9 years ago
Reviewers:
turnidge, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Refactor the isolate callback mechanism to also include creation of the isolate, this enables creation of isolates using a snapshot - remove source buffers of corelib, coreimpl-lib and builtin-lib from the binary Committed: https://code.google.com/p/dart/source/detail?r=1958

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 42

Patch Set 6 : '' #

Total comments: 4

Patch Set 7 : '' #

Total comments: 14

Patch Set 8 : '' #

Total comments: 8

Patch Set 9 : '' #

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -735 lines) Patch
M bin/bin.gypi View 1 2 3 4 5 6 7 8 9 8 chunks +28 lines, -6 lines 0 comments Download
M bin/builtin.h View 1 2 3 4 5 6 7 8 9 1 chunk +19 lines, -5 lines 0 comments Download
M bin/builtin.cc View 1 2 3 4 5 6 7 8 9 1 chunk +34 lines, -19 lines 0 comments Download
M bin/builtin_in.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -140 lines 0 comments Download
A + bin/builtin_natives.cc View 1 2 3 4 5 6 4 chunks +24 lines, -51 lines 0 comments Download
A bin/builtin_nolib.cc View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M bin/gen_snapshot.cc View 1 2 3 4 5 6 7 8 9 4 chunks +54 lines, -53 lines 0 comments Download
M bin/main.cc View 1 2 3 4 5 6 7 8 9 5 chunks +50 lines, -36 lines 0 comments Download
M bin/run_vm_tests.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -8 lines 0 comments Download
M include/dart_api.h View 1 2 3 4 5 6 7 8 9 3 chunks +18 lines, -19 lines 0 comments Download
M lib/isolate.cc View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -24 lines 0 comments Download
M vm/bootstrap.cc View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -49 lines 0 comments Download
A vm/bootstrap_natives.cc View 1 2 3 4 5 6 1 chunk +64 lines, -0 lines 0 comments Download
A vm/bootstrap_nocorelib.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M vm/custom_isolate_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M vm/dart.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M vm/dart.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -8 lines 0 comments Download
M vm/dart_api_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -6 lines 0 comments Download
M vm/dart_api_impl_test.cc View 1 2 3 4 5 6 7 8 9 88 chunks +68 lines, -255 lines 0 comments Download
M vm/isolate.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M vm/isolate.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -5 lines 0 comments Download
M vm/isolate_linux.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -7 lines 0 comments Download
M vm/isolate_macos.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -7 lines 0 comments Download
M vm/isolate_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -7 lines 0 comments Download
M vm/snapshot_test.cc View 1 2 3 4 5 6 7 8 9 6 chunks +7 lines, -18 lines 0 comments Download
M vm/thread_macos.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M vm/thread_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M vm/unit_test.h View 1 2 3 4 5 6 7 8 9 2 chunks +21 lines, -2 lines 0 comments Download
M vm/unit_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -0 lines 0 comments Download
M vm/vm.gypi View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -1 line 0 comments Download
M vm/vm_sources.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
siva
9 years, 1 month ago (2011-11-23 01:30:00 UTC) #1
siva
9 years, 1 month ago (2011-11-23 02:01:47 UTC) #2
turnidge
First round of comments. Overall, I think that this change is a nice improvement. Very ...
9 years, 1 month ago (2011-11-23 18:05:12 UTC) #3
siva
reintroduce callback_data as dartium was apparently using it. http://codereview.chromium.org/8673002/diff/5039/bin/builtin_nolib.cc File bin/builtin_nolib.cc (right): http://codereview.chromium.org/8673002/diff/5039/bin/builtin_nolib.cc#newcode27 bin/builtin_nolib.cc:27: ASSERT(!Dart_IsError(builtin_lib)); ...
9 years, 1 month ago (2011-11-23 18:24:40 UTC) #4
turnidge
http://codereview.chromium.org/8673002/diff/5039/bin/gen_snapshot.cc File bin/gen_snapshot.cc (right): http://codereview.chromium.org/8673002/diff/5039/bin/gen_snapshot.cc#newcode234 bin/gen_snapshot.cc:234: // snapshot generation. On 2011/11/23 18:24:40, asiva wrote: > ...
9 years, 1 month ago (2011-11-23 19:03:33 UTC) #5
siva
addressed review comments. PTAL http://codereview.chromium.org/8673002/diff/5039/bin/builtin_natives.cc File bin/builtin_natives.cc (right): http://codereview.chromium.org/8673002/diff/5039/bin/builtin_natives.cc#newcode3 bin/builtin_natives.cc:3: // BSD-style license that can ...
9 years, 1 month ago (2011-11-23 22:37:27 UTC) #6
turnidge
LGTM w/ a few comments. There's an extra diff in builtin_natives.cc that you should look ...
9 years ago (2011-11-28 18:39:58 UTC) #7
siva
synced up to top of tree and addressed review comments. http://codereview.chromium.org/8673002/diff/8006/bin/builtin.cc File bin/builtin.cc (right): http://codereview.chromium.org/8673002/diff/8006/bin/builtin.cc#newcode18 ...
9 years ago (2011-11-29 00:54:25 UTC) #8
Ivan Posva
LGTM with comments. -Ivan http://codereview.chromium.org/8673002/diff/21001/bin/gen_snapshot.cc File bin/gen_snapshot.cc (right): http://codereview.chromium.org/8673002/diff/21001/bin/gen_snapshot.cc#newcode24 bin/gen_snapshot.cc:24: // Global state which containts ...
9 years ago (2011-11-30 00:58:21 UTC) #9
siva
Addressed comments. http://codereview.chromium.org/8673002/diff/21001/bin/gen_snapshot.cc File bin/gen_snapshot.cc (right): http://codereview.chromium.org/8673002/diff/21001/bin/gen_snapshot.cc#newcode24 bin/gen_snapshot.cc:24: // Global state which containts a pointer ...
9 years ago (2011-11-30 18:56:31 UTC) #10
siva
9 years ago (2011-12-01 00:30:09 UTC) #11

          

Powered by Google App Engine
This is Rietveld 408576698