Closed Bug 1910821 Opened 4 months ago Closed 4 months ago

Use correct mutex for gConnRecvMutex in FuzzyLayer

Categories

(Core :: Networking, defect)

defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: gerard-majax, Assigned: gerard-majax)

Details

Attachments

(1 file)

Quoting nika from bug 1909125 comment 15

In the pernsoco trace, we're initializing nsTraceRefcnt in during XUL static initializers due to this a global Mutex gConnRecvMutex member (https://searchfox.org/mozilla-central/rev/20d128ef2bcaff950172fe46eada6bc74673bd25/netwerk/base/FuzzyLayer.cpp#28). (As a side-note, this static should be using StaticMutex rather than Mutex to avoid this static constructor. Us initializing this early is actually causing the process type when initializing the log to be wrong).
Assignee: nobody → lissyx+mozillians
Status: NEW → ASSIGNED
Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b4548bf7f49e Use StaticMutex instead of Mutex r=kershaw,necko-reviewers
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: