Closed Bug 1766044 Opened 3 years ago Closed 10 months ago

[profiler markers] Add CC markers for workers

Categories

(Core :: DOM: Workers, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: sfink, Assigned: sfink)

Details

Attachments

(6 files)

The "CC" and "CCSlice" markers are mainthread-only, even though workers run the cycle collector.

Attached image WorkerProfilerGCCC.png

There seems to be some CC data also for workers. Is this still relevant?

Flags: needinfo?(sphink)

I assume this is still relevant?

Flags: needinfo?(sphink) → needinfo?(smaug)

yes

Flags: needinfo?(smaug)
Assignee: nobody → sphink
Status: NEW → ASSIGNED
Attachment #9404645 - Attachment description: Bug 1766044 - Move CycleCollectorStats from nsJSEnvironment.cpp to nsCycleCollector → Bug 1766044 - Move CycleCollectorStats from nsJSEnvironment.cpp to its own file
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/931c77120c31 Move CycleCollectorStats from nsJSEnvironment.cpp to its own file r=mccr8 https://hg.mozilla.org/integration/autoland/rev/bdcaca17283c Remove MainThreadCycleCollectorStats and instead make MaybeLogStats and MaybeNotifyStats static functions using sCCStats r=mccr8 https://hg.mozilla.org/integration/autoland/rev/a6102546bde2 Give every cycle collecting thread a stats struct r=mccr8 https://hg.mozilla.org/integration/autoland/rev/eac56f66bebe Move ForgetSkippable marker from mainthread only to a common place r=mccr8 https://hg.mozilla.org/integration/autoland/rev/6caeafb98a86 Emit CC start/end markers for all cycle collections, not just mainthread r=mccr8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: