Closed
Bug 1585697
Opened 6 years ago
Closed 6 years ago
Refactor CycleCollectorStats a little
Categories
(Core :: DOM: Core & HTML, task, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(4 files)
There's a bunch of statics globals in nsJSEnvironment.cpp that concern time spent running forget skippable that could be moved into CycleCollectorStats, and a few other things that could be tidied up.
Assignee | ||
Comment 1•6 years ago
|
||
This needs to be defined before FireForgetSkippable for the subsequnt patches.
Assignee | ||
Comment 2•6 years ago
|
||
I'm not sure what if there's a preference either way, but all the other globals in nsJSEnvironement.cpp are static so I made the CycleCollectorStats global static too.
Depends on D47918
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D47919
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D47920
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c3c52501f575
Move CycleCollectorStats definition to the top of the file r=mccr8
https://hg.mozilla.org/integration/autoland/rev/5da58cc85764
Make CycleCollectorStats instance static for consistency with other globals r=mccr8
https://hg.mozilla.org/integration/autoland/rev/d2a59efd0e55
Move forget skippable stats into CycleCollectorStats class r=mccr8
https://hg.mozilla.org/integration/autoland/rev/129bdec0c8d2
Refactor nsJSContext::EndCycleCollectionCallback to split out telemetry and logging code into CycleCollectorStats methods r=mccr8
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c3c52501f575
https://hg.mozilla.org/mozilla-central/rev/5da58cc85764
https://hg.mozilla.org/mozilla-central/rev/d2a59efd0e55
https://hg.mozilla.org/mozilla-central/rev/129bdec0c8d2
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•