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
Messages
Total messages: 17 (11 generated)
|