Closed Bug 1129780 Opened 9 years ago Closed 9 years ago

Report the youngest sampled frame's line number if it has optimization info

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: shu, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

We need the specific line number that the optimization occurred on, else the info is unactionable.

Since PCToLineNumber isn't free, I don't see the need to do this lookup on all leaf frames. So this patch only looks up the specific line number if it has optimization info.
Changed the public API to hand out a JSScript and jsbytecode instead of just a
line number.
Attachment #8559574 - Attachment is obsolete: true
Attachment #8559574 - Flags: review?(kvijayan)
Attachment #8560780 - Flags: review?(kvijayan)
Attachment #8560780 - Flags: review?(kvijayan) → review+
https://hg.mozilla.org/mozilla-central/rev/cf9681ea636e
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.