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

Issue 2475523002: Reload native extensions when starting from a snapshot. (Closed)

Created:
4 years, 1 month ago by rmacnak
Modified:
4 years, 1 month ago
Reviewers:
Cutch, siva
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Reload native extensions when starting from a snapshot. Fixes #21180 Fixes #27574 R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/987165f022e868d111b2393c74bb9383ccf87c12

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Use temp directory for snapshot #

Total comments: 10

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 2

Patch Set 6 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -85 lines) Patch
M runtime/bin/dartutils.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/dartutils.cc View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/bin/loader.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/bin/loader.cc View 1 2 3 4 5 5 chunks +57 lines, -0 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/library_view.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A + samples/sample_extension/test/sample_extension_app_snapshot_test.dart View 1 2 3 1 chunk +4 lines, -8 lines 0 comments Download
A + samples/sample_extension/test/sample_extension_script_snapshot_test.dart View 1 2 3 1 chunk +4 lines, -8 lines 0 comments Download
M samples/sample_extension/test/sample_extension_test.dart View 1 2 3 1 chunk +3 lines, -64 lines 0 comments Download
A samples/sample_extension/test/sample_extension_test_helper.dart View 1 2 3 4 1 chunk +90 lines, -0 lines 0 comments Download
M samples/samples.status View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
rmacnak
4 years, 1 month ago (2016-11-02 22:05:19 UTC) #2
siva
https://codereview.chromium.org/2475523002/diff/40001/runtime/bin/dartutils.h File runtime/bin/dartutils.h (right): https://codereview.chromium.org/2475523002/diff/40001/runtime/bin/dartutils.h#newcode128 runtime/bin/dartutils.h:128: static char* RemoveFilename(const char* url); Would File::DirName be a ...
4 years, 1 month ago (2016-11-02 23:48:38 UTC) #3
Cutch
https://codereview.chromium.org/2475523002/diff/40001/runtime/bin/dartutils.h File runtime/bin/dartutils.h (right): https://codereview.chromium.org/2475523002/diff/40001/runtime/bin/dartutils.h#newcode128 runtime/bin/dartutils.h:128: static char* RemoveFilename(const char* url); On 2016/11/02 23:48:38, siva ...
4 years, 1 month ago (2016-11-03 17:45:34 UTC) #4
siva
https://codereview.chromium.org/2475523002/diff/40001/runtime/bin/loader.cc File runtime/bin/loader.cc (right): https://codereview.chromium.org/2475523002/diff/40001/runtime/bin/loader.cc#newcode521 runtime/bin/loader.cc:521: } On 2016/11/03 17:45:34, Cutch wrote: > On 2016/11/02 ...
4 years, 1 month ago (2016-11-03 17:53:01 UTC) #5
rmacnak
Added Dart_GetImportsOfScheme. Rename RemoveFilename to DirName. Using Dart_ListGetRange. Split out test helper.
4 years, 1 month ago (2016-11-03 21:05:05 UTC) #6
Cutch
LGTM w/c https://codereview.chromium.org/2475523002/diff/80001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2475523002/diff/80001/runtime/include/dart_api.h#newcode2945 runtime/include/dart_api.h:2945: * Returns a list where each element ...
4 years, 1 month ago (2016-11-07 22:24:16 UTC) #7
rmacnak
https://codereview.chromium.org/2475523002/diff/80001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2475523002/diff/80001/runtime/include/dart_api.h#newcode2945 runtime/include/dart_api.h:2945: * Returns a list where each element 2n is ...
4 years, 1 month ago (2016-11-08 00:17:32 UTC) #8
rmacnak
4 years, 1 month ago (2016-11-08 00:17:53 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
987165f022e868d111b2393c74bb9383ccf87c12 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698