Closed Bug 1080011 Opened 11 years ago Closed 10 years ago

Lots of ghost windows and long cc times

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jrmuizel, Assigned: mccr8)

Details

(Whiteboard: [MemShrink:P2])

Attachments

(1 file)

No description provided.
Do you have any details here? :)
Component: XPCOM → DOM
(I haven't seen any huge CC times recently. Medium <20ms CC times with 195 tabs + Chatzilla open)
Attached file memory-report.json.gz
I still have the browser running now, so if there's something else that you want gathered I can try.
A non-verbose CC log would be nice. (I don't need the GC log for that one.)
One global window 0x12faaec00 [nsGlobalWindow #3449 inner https://bugzilla.mozilla.org/show_bug.cgi?id=1079398] is beind held alive by a nsXPCWrappedJS (nsITimerCallback).
Yeah, I'm seeing this, too. I have 664 ghost windows now. And my browser is super janky. :) Jeff, are you using e10s? I've found a patch that causes a bunch of leaked windows in e10s mochitests, maybe it is related.
Flags: needinfo?(jmuizelaar)
Assignee: nobody → continuation
Whiteboard: [MemShrink]
It looks like you are not using e10s mode, judging by the memory report.
Flags: needinfo?(jmuizelaar)
On telemetry, it looks like the 95% percentile of ghost windows increased from 3 to 5 on 10/4.
I'm pretty sure the issue I'm seeing is bug 1080301, because at least one of leaking windows are being held alive by an object element. But as I said, Jeff's leak is non-e10s, and is via a nsITimerCallback.
The only thing (aside from canvas elements), which seems to be CCed properly, that looks like it owns nsITimerCallbacks is nsTimerImpl. Could something be firing off a bunch of timers? I'm not sure how we can diagnose that.
Whiteboard: [MemShrink] → [MemShrink:P2]
Jeff, does this happen regularly to you? Do you have any idea how to reproduce it?
Flags: needinfo?(jmuizelaar)
I haven't noticed it happening again. I'll write something here if it does.
Flags: needinfo?(jmuizelaar)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: