Closed Bug 1019182 Opened 10 years ago Closed 10 years ago

ProfileEntry flags should be zeroed when setting frame data

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(1 file)

I noticed while working on bug 1017790.

Since profile entries are never destroyed, whatever flags were set before stick around when frames are re-pushed onto the stack. We're doing the necessary work to handle IS_CPP_ENTRY and FRAME_LABEL_COPY, but previous category flags stick around.

We should just throw away all the flags when setting new js/cpp frames, because the previous data is bound to be useless. We're actually doing this correctly IonMacroAssembler :)
Attached patch v1Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8432749 - Flags: review?(kvijayan)
Blocks: 1017790
Attachment #8432749 - Flags: review?(kvijayan) → review+
https://hg.mozilla.org/mozilla-central/rev/d185d33cfce5
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: