Closed Bug 1870477 Opened 6 months ago Closed 6 months ago

Trigger GC soon after CC if CC found lots of GCed garbage

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
123 Branch
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

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
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Regressions: 1870780

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?

Assignee: smaug → docfaraday
See Also: → 1818283

Why is bugzilla automatically reassigning bugs when changing things like See Also?

Assignee: docfaraday → smaug

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.

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.

Yeah, it definitely highlights some sort of mistake, maybe a missing edge someplace.

Regressions: 1871552
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: