Closed Bug 1723864 Opened 5 years ago Closed 6 months ago

Consider changing mSleep (and values AWAKE, SLEEPING_NOT_OBSERVED, and SLEEPING_OBSERVED), to an enum type

Categories

(Core :: Gecko Profiler, task, P3)

task

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: mozbugz, Assigned: dcarver, Mentored)

References

Details

(Whiteboard: [fp])

Attachments

(1 file)

mSleep in RegisteredThread.h, soon to be moved to new class ThreadRegistrationData when bug 1721939 lands, is currently an int, with the different possible values being static const int discrete values.

mSleep could be changed to an enum, and the values enum options.

(Spawned from https://phabricator.services.mozilla.com/D120815#3956611 , thank you Nazım.)

Mentor: canaltinova
Whiteboard: [fxp]
Whiteboard: [fxp] → [fxp-profiler]
Assignee: nobody → dcarver
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Severity: N/A → S4
QA Whiteboard: [qa-triage-done-c150/b149]
Whiteboard: [fxp-profiler] → [fp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: