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

Issue 1663963002: - reorganize DartUtils::PrepareForScriptLoading so that it does not have the wait for service load … (Closed)

Created:
4 years, 10 months ago by siva
Modified:
4 years, 10 months ago
Reviewers:
zra, Cutch
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

- reorganize DartUtils::PrepareForScriptLoading so that it does not have the wait for service load port code in it. This is needed so that it is possible to not wait for the service load port when running with a full application snapshot that requires no loading. - cache builtin_lib in IsolateData so that the cached value can be used withouit having to call Builtin::LoadAndCheckLibrary which creates new string objects everytime it is called. Committed: https://github.com/dart-lang/sdk/commit/1e5eab3a143f0736d925f546952006fb31127e9a

Patch Set 1 #

Patch Set 2 : self-review-comments #

Total comments: 2

Patch Set 3 : code-review-comments #

Total comments: 4

Patch Set 4 : code-review-comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -277 lines) Patch
M runtime/bin/dartutils.h View 1 2 3 4 chunks +32 lines, -34 lines 0 comments Download
M runtime/bin/dartutils.cc View 1 2 3 11 chunks +79 lines, -80 lines 0 comments Download
M runtime/bin/gen_snapshot.cc View 1 2 3 7 chunks +23 lines, -34 lines 0 comments Download
M runtime/bin/isolate_data.h View 3 chunks +20 lines, -2 lines 0 comments Download
M runtime/bin/main.cc View 3 chunks +21 lines, -23 lines 0 comments Download
M runtime/bin/vmservice_impl.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M runtime/vm/benchmark_test.h View 1 2 1 chunk +1 line, -7 lines 0 comments Download
M runtime/vm/benchmark_test.cc View 1 2 5 chunks +17 lines, -67 lines 0 comments Download
M runtime/vm/unit_test.h View 1 2 1 chunk +1 line, -12 lines 0 comments Download
M runtime/vm/unit_test.cc View 1 2 3 7 chunks +22 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
siva
4 years, 10 months ago (2016-02-03 22:50:47 UTC) #2
Cutch
LGTMwC https://codereview.chromium.org/1663963002/diff/20001/runtime/vm/unit_test.h File runtime/vm/unit_test.h (right): https://codereview.chromium.org/1663963002/diff/20001/runtime/vm/unit_test.h#newcode10 runtime/vm/unit_test.h:10: #include "bin/isolate_data.h" This feels icky but I see ...
4 years, 10 months ago (2016-02-03 23:16:17 UTC) #3
siva
https://codereview.chromium.org/1663963002/diff/20001/runtime/vm/unit_test.h File runtime/vm/unit_test.h (right): https://codereview.chromium.org/1663963002/diff/20001/runtime/vm/unit_test.h#newcode10 runtime/vm/unit_test.h:10: #include "bin/isolate_data.h" On 2016/02/03 23:16:17, Cutch wrote: > This ...
4 years, 10 months ago (2016-02-03 23:52:04 UTC) #4
zra
https://codereview.chromium.org/1663963002/diff/40001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://codereview.chromium.org/1663963002/diff/40001/runtime/bin/dartutils.cc#newcode309 runtime/bin/dartutils.cc:309: IsolateData* isolate_data = This pattern is repeated a lot. ...
4 years, 10 months ago (2016-02-04 04:12:41 UTC) #5
siva
https://codereview.chromium.org/1663963002/diff/40001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://codereview.chromium.org/1663963002/diff/40001/runtime/bin/dartutils.cc#newcode309 runtime/bin/dartutils.cc:309: IsolateData* isolate_data = On 2016/02/04 04:12:41, zra wrote: > ...
4 years, 10 months ago (2016-02-04 16:59:01 UTC) #6
siva
4 years, 10 months ago (2016-02-04 17:18:35 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
1e5eab3a143f0736d925f546952006fb31127e9a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698