Frequent main-thread hangs in nsStreamListenerTee::OnStopRequest

NEW
Unassigned

Status

()

Core
Networking
P3
normal
5 years ago
5 months ago

People

(Reporter: vladan, Unassigned)

Tracking

22 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Snappy][necko-backlog])

(Reporter)

Description

5 years ago
I frequently notice main thread hangs lasting a second or two while browsing. When I check my about:telemetry page, I almost always see reports of hangs with the following stacks:

NtWaitForSingleObject (in wntdll.pdb)
RtlpDeCommitFreeBlock (in wntdll.pdb)
PR_Lock (in nss3.pdb)
nsCOMPtr_base::assign_with_AddRef(nsISupports *) (in xul.pdb)
nsStreamListenerTee::OnStopRequest(nsIRequest *,nsISupports *,tag_nsresult) (in xul.pdb)
mozilla::net::nsHttpChannel::OnStopRequest(nsIRequest *,nsISupports *,tag_nsresult) (in xul.pdb)
nsInputStreamPump::OnStateStop() (in xul.pdb)
nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream *) (in xul.pdb)
nsInputStreamReadyEvent::Run() (in xul.pdb)
(Reporter)

Comment 1

5 years ago
I captured a profile:

http://people.mozilla.com/~bgirard/cleopatra/#report=9a437e766f61a080e37a6e2a74239a306a685f6b

I'm guessing this might be lock contention with the network cache?
Whiteboard: [Snappy] → [Snappy][necko-backlog]
You need to log in before you can comment on or make changes to this bug.