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

Issue 2933603002: 1. Dynamic compute the main closure that needs to be run by the main isolate (Closed)

Created:
3 years, 6 months ago by siva
Modified:
3 years, 6 months ago
Reviewers:
rmacnak, karlklose, aam
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Kevin Millikin (Google)
Target Ref:
refs/heads/master
Visibility:
Public.

Description

1. Dynamically compute the main closure that needs to be run by the main isolate 2. Get rid of _getMainClosure() 3. Adjust the AOT compiler to ensure it retains the function associated with the main closure without having to include '_getMainClosure()' in the list of embedder specified entry points 4. Get rid of the hack in kernel reader to do a delayed patch of '_getMainClosure()' in the builtin library. BUG= R=aam@google.com, rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/8b7af73daafedacf0f239d17096703420937af69

Patch Set 1 #

Patch Set 2 : Remove redundant check. #

Total comments: 4

Patch Set 3 : Adjust test status files. #

Patch Set 4 : Address review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -37 lines) Patch
M runtime/bin/builtin.dart View 1 chunk +0 lines, -5 lines 0 comments Download
M runtime/bin/main.cc View 1 2 chunks +8 lines, -6 lines 0 comments Download
M runtime/include/dart_api.h View 1 chunk +14 lines, -0 lines 0 comments Download
M runtime/tests/vm/vm.status View 1 2 3 3 chunks +3 lines, -6 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M runtime/vm/kernel_reader.cc View 1 2 1 chunk +4 lines, -18 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M runtime/vm/precompiler.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 3 chunks +26 lines, -1 line 0 comments Download
M tests/co19/co19-kernel.status View 1 2 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 11 (4 generated)
siva
3 years, 6 months ago (2017-06-09 21:00:34 UTC) #3
siva
3 years, 6 months ago (2017-06-09 21:31:00 UTC) #4
aam
On 2017/06/09 21:31:00, siva wrote: +kmillikin, who looked at this couple weeks ago. lgtm! When ...
3 years, 6 months ago (2017-06-12 15:38:34 UTC) #5
rmacnak
lgtm https://codereview.chromium.org/2933603002/diff/20001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2933603002/diff/20001/runtime/include/dart_api.h#newcode1625 runtime/include/dart_api.h:1625: DART_EXPORT Dart_Handle Dart_GetClosure(Dart_Handle library, We should update Dart_GetField ...
3 years, 6 months ago (2017-06-15 01:48:54 UTC) #6
siva
https://codereview.chromium.org/2933603002/diff/20001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2933603002/diff/20001/runtime/include/dart_api.h#newcode1625 runtime/include/dart_api.h:1625: DART_EXPORT Dart_Handle Dart_GetClosure(Dart_Handle library, On 2017/06/15 01:48:54, rmacnak wrote: ...
3 years, 6 months ago (2017-06-15 17:34:41 UTC) #7
siva
Committed patchset #4 (id:60001) manually as 8b7af73daafedacf0f239d17096703420937af69 (presubmit successful).
3 years, 6 months ago (2017-06-15 17:40:50 UTC) #9
karlklose
3 years, 6 months ago (2017-06-16 08:39:03 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/2933603002/diff/60001/tests/co19/co19-kernel....
File tests/co19/co19-kernel.status (left):

https://codereview.chromium.org/2933603002/diff/60001/tests/co19/co19-kernel....
tests/co19/co19-kernel.status:119:
Language/Libraries_and_Scripts/Scripts/top_level_main_t05: Crash
This test still crashes in debug mode (see
https://codereview.chromium.org/2945573002/)

Powered by Google App Engine
This is Rietveld 408576698