Trigger GC soon after CC if CC found lots of GCed garbage
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
Currently it may take too much time to collect GCed objects after CC
Updated•6 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b4285ba4f41 Trigger GC soon after CC if CC found lots of GCed garbage, r=mccr8
Comment 3•6 months ago
|
||
bugherder |
Comment 4•6 months ago
|
||
This seems to have dramatically increased the rates of intermittent timeouts in a handful of webrtc mochitests (eg; bug 1870769). I wonder if this is due to bug 1818283?
Comment 5•6 months ago
|
||
Why is bugzilla automatically reassigning bugs when changing things like See Also?
Comment 6•6 months ago
|
||
So, one of the commonalities of the tests that are failing is they all use a CaptureStream, and I see that there has already been one CaptureStream-related regression fixed. I don't think bug 1818283 was related to CaptureStream, so this might be a separate issue.
Assignee | ||
Comment 7•6 months ago
|
||
Garbage may indeed be collected now sooner. But it is still garbage, and should be collected. I hope media code doesn't for example keep weak references to unlinked objects around.
Bug 1870780 hints that it does that. But the fixes shouldn't be on GC/CC side but on media side.
Comment 8•6 months ago
|
||
Yeah, it definitely highlights some sort of mistake, maybe a missing edge someplace.
Description
•