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

Issue 2603333002: [profiler] Log both code and bytecode in heap SFI traversal (Closed)

Created:
3 years, 11 months ago by Leszek Swirski
Modified:
3 years, 11 months ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[profiler] Log both code and bytecode in heap SFI traversal The heap traversal for SFI code objects when logging compiled functions was previously accessing the abstract code of an SFI, logging its bytecode if it exists or code object otherwise. However, there are some (rare) cases where an SFI has both bytecode and a non-interpreter code object -- for example, after baseline tier-up -- in which case we want to log both, as both could be executing (at different points on the stack). BUG=v8:5758 Review-Url: https://codereview.chromium.org/2603333002 Cr-Commit-Position: refs/heads/master@{#42025} Committed: https://chromium.googlesource.com/v8/v8/+/b8f93dfe9d3b5c7fdb60ad1ab415bfd12f930e16

Patch Set 1 #

Total comments: 6

Patch Set 2 : Extract common code #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -14 lines) Patch
M src/log.cc View 1 3 chunks +27 lines, -14 lines 1 comment Download

Messages

Total messages: 17 (11 generated)
Leszek Swirski
Hi Ross, Here's an alternative for https://codereview.chromium.org/2592703002/, LMKWYT.
3 years, 11 months ago (2017-01-03 11:05:53 UTC) #4
rmcilroy
https://codereview.chromium.org/2603333002/diff/1/src/log.cc File src/log.cc (right): https://codereview.chromium.org/2603333002/diff/1/src/log.cc#newcode1382 src/log.cc:1382: nit - drop the newline https://codereview.chromium.org/2603333002/diff/1/src/log.cc#newcode1394 src/log.cc:1394: if (!sfi->IsInterpreted()) ...
3 years, 11 months ago (2017-01-03 12:05:30 UTC) #7
Leszek Swirski
https://codereview.chromium.org/2603333002/diff/1/src/log.cc File src/log.cc (right): https://codereview.chromium.org/2603333002/diff/1/src/log.cc#newcode1382 src/log.cc:1382: On 2017/01/03 12:05:30, rmcilroy wrote: > nit - drop ...
3 years, 11 months ago (2017-01-03 12:22:46 UTC) #10
rmcilroy
LGTM, thanks. https://codereview.chromium.org/2603333002/diff/20001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/2603333002/diff/20001/src/log.cc#newcode1396 src/log.cc:1396: if (!sfi->IsInterpreted()) { We might want to ...
3 years, 11 months ago (2017-01-03 12:42:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603333002/20001
3 years, 11 months ago (2017-01-03 12:43:40 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 12:48:13 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/b8f93dfe9d3b5c7fdb60ad1ab415bfd12f9...

Powered by Google App Engine
This is Rietveld 408576698