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

Issue 2562693003: Save and restore feedback from JIT. (Closed)

Created:
4 years ago by rmacnak
Modified:
4 years ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Save and restore feedback from JIT. - Adjust fingerprints to be independent of the library's private key, which varies with load order. - Use usage_counter in AOT inlining decisions if JIT feedback is available. - Reduce inlining in cold functions. dart2js product aot snapshot 15841351 -> 14436273 (-8.86%) R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/31ee20297e83e88a9a1b6002be906fea9e43eca0

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 21

Patch Set 7 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1693 lines, -569 lines) Patch
M runtime/bin/gen_snapshot.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/main.cc View 1 2 3 7 chunks +66 lines, -3 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 4 2 chunks +20 lines, -1 line 0 comments Download
M runtime/vm/aot_optimizer.h View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/vm/aot_optimizer.cc View 1 2 3 4 2 chunks +45 lines, -67 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 6 9 chunks +175 lines, -41 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 2 chunks +0 lines, -24 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 5 6 14 chunks +44 lines, -10 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 chunk +2 lines, -0 lines 0 comments Download
A runtime/vm/json_parser.h View 1 2 3 4 5 6 1 chunk +331 lines, -0 lines 0 comments Download
M runtime/vm/method_recognizer.h View 1 2 3 11 chunks +263 lines, -263 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 6 chunks +65 lines, -25 lines 0 comments Download
M runtime/vm/precompiler.h View 1 2 3 4 5 6 7 chunks +97 lines, -33 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 4 5 6 18 chunks +437 lines, -87 lines 2 comments Download
A runtime/vm/program_visitor.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A runtime/vm/program_visitor.cc View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M runtime/vm/thread.h View 1 2 3 3 chunks +0 lines, -7 lines 0 comments Download
M runtime/vm/thread.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/version.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/version_in.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
rmacnak
4 years ago (2016-12-13 21:24:34 UTC) #3
Florian Schneider
https://codereview.chromium.org/2562693003/diff/100001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/2562693003/diff/100001/runtime/vm/dart_api_impl.cc#newcode6550 runtime/vm/dart_api_impl.cc:6550: intptr_t kNumArgsChecked = ic_data_.NumArgsTested(); s/kNumArgsChecked/num_args_checked/ https://codereview.chromium.org/2562693003/diff/100001/runtime/vm/json_parser.cc File runtime/vm/json_parser.cc (right): ...
4 years ago (2016-12-15 19:09:36 UTC) #4
rmacnak
https://codereview.chromium.org/2562693003/diff/100001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/2562693003/diff/100001/runtime/vm/dart_api_impl.cc#newcode6550 runtime/vm/dart_api_impl.cc:6550: intptr_t kNumArgsChecked = ic_data_.NumArgsTested(); On 2016/12/15 19:09:35, Florian Schneider ...
4 years ago (2016-12-15 21:27:19 UTC) #5
Florian Schneider
Lgtm https://codereview.chromium.org/2562693003/diff/120001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/2562693003/diff/120001/runtime/vm/precompiler.cc#newcode2899 runtime/vm/precompiler.cc:2899: ASSERT(entry != NULL); How are calls where num_args_checked ...
4 years ago (2016-12-16 18:00:36 UTC) #6
rmacnak
https://codereview.chromium.org/2562693003/diff/120001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/2562693003/diff/120001/runtime/vm/precompiler.cc#newcode2899 runtime/vm/precompiler.cc:2899: ASSERT(entry != NULL); On 2016/12/16 18:00:36, Florian Schneider wrote: ...
4 years ago (2016-12-16 18:09:34 UTC) #7
rmacnak
4 years ago (2016-12-16 18:21:45 UTC) #9
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
31ee20297e83e88a9a1b6002be906fea9e43eca0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698