Open Bug 1337342 Opened 8 years ago Updated 2 years ago

Profiler Leaks thread handles until it is stopped

Categories

(Core :: Gecko Profiler, defect, P3)

x86_64
Windows 10
defect

Tracking

()

Tracking Status
firefox54 --- affected

People

(Reporter: bugzilla.mozilla.org, Unassigned)

References

(Blocks 1 open bug)

Details

The profiler addon, when active, seems to hold onto handles of dead threads (thousands after a day of uptime). While this does not seem to have a big impact on memory footprint it slows down system monitoring tools like process explorer which enumerate open handles. Gecko Profiler 2.0.18
Blocks: 1329219
Can you check whether this still happens now that bug 1347007 has landed?
Flags: needinfo?(bugzilla.mozilla.org)
I'm still seeing the number of handles going down by >1500 when discarding a profile. I'm not sure, but the magnitude might still be less than before.
Flags: needinfo?(bugzilla.mozilla.org)
Thanks.

I don't think the profiler keeps handles on threads after they're gone. To be verified...

Severity: normal → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.