|
|
DescriptionRemove decision by Turbofan OSR to optimize on next call
When we OSR using Turbofan, we would set the function to be optimized
on the next call, irrespective of the runtime profiler's previous
decisions - such as compiling for baseline. It seems more prudent to
always make these decisions in the runtime profiler where the data is
available.
Committed: https://crrev.com/0d1e15d6e562380549bf7a56032db153f0060948
Cr-Commit-Position: refs/heads/master@{#39782}
Patch Set 1 #Patch Set 2 : fix TickLinesBaseline #
Total comments: 2
Patch Set 3 : comment from Ross #Patch Set 4 : fix build on mips #
Messages
Total messages: 25 (11 generated)
klaasb@google.com changed reviewers: + mstarzinger@chromium.org, mythria@chromium.org, rmcilroy@chromium.org
LGTM, but I'd like Michi to comment.
mstarzinger@chromium.org changed reviewers: + titzer@chromium.org
LGTM from my end. +Ben: Just FYI.
The CQ bit was checked by klaasb@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/09/26 16:24:50, commit-bot: I haz the power wrote: > CQ is trying da patch. Follow status at > > https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... The intent of the original heuristic was to avoid repeatedly OSRing the same function because (one of) the side effects of optimizing a function was clearing its tick count. But we never verified was useful in practice, so it seems reasonable to remove that complexity.
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: v8_win_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/15054) v8_win_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng_triggered/bui...)
The CQ bit was checked by klaasb@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Hi Ross, PTAL. Fixed the TickLinesBaseline test by setting --no-crankshaft and removing the call to NeverOptimizeFunction.
Hi Ross, PTAL. Fixed the TickLinesBaseline test by setting --no-crankshaft and removing the call to NeverOptimizeFunction.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
LGTM with a nit. https://codereview.chromium.org/2369043002/diff/20001/test/cctest/test-cpu-pr... File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/2369043002/diff/20001/test/cctest/test-cpu-pr... test/cctest/test-cpu-profiler.cc:1039: i::FLAG_crankshaft = false; Could you just do this at the start of TickLinesBaseline instead (so that it is set correctly before"CcTest::InitializeVM();"
https://codereview.chromium.org/2369043002/diff/20001/test/cctest/test-cpu-pr... File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/2369043002/diff/20001/test/cctest/test-cpu-pr... test/cctest/test-cpu-profiler.cc:1039: i::FLAG_crankshaft = false; On 2016/09/27 15:27:45, rmcilroy wrote: > Could you just do this at the start of TickLinesBaseline instead (so that it is > set correctly before"CcTest::InitializeVM();" Done.
The CQ bit was checked by klaasb@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from mstarzinger@chromium.org, rmcilroy@chromium.org Link to the patchset: https://codereview.chromium.org/2369043002/#ps40001 (title: "comment from Ross")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Remove decision by Turbofan OSR to optimize on next call When we OSR using Turbofan, we would set the function to be optimized on the next call, irrespective of the runtime profiler's previous decisions - such as compiling for baseline. It seems more prudent to always make these decisions in the runtime profiler where the data is available. ========== to ========== Remove decision by Turbofan OSR to optimize on next call When we OSR using Turbofan, we would set the function to be optimized on the next call, irrespective of the runtime profiler's previous decisions - such as compiling for baseline. It seems more prudent to always make these decisions in the runtime profiler where the data is available. Committed: https://crrev.com/0d1e15d6e562380549bf7a56032db153f0060948 Cr-Commit-Position: refs/heads/master@{#39782} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/0d1e15d6e562380549bf7a56032db153f0060948 Cr-Commit-Position: refs/heads/master@{#39782}
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2370083003/ by klaasb@google.com. The reason for reverting is: Breaks build because of empty printf format string.. |