Closed
Bug 1793633
Opened 2 years ago
Closed 2 years ago
nsEffectiveTLDService should use threadsafe refcounting
Categories
(Core :: DOM: Networking, enhancement)
Core
DOM: Networking
Tracking
()
RESOLVED
FIXED
107 Branch
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
Details
Attachments
(1 file)
nsEffectiveTLDService
is already used off-main-thread through the ThirdPartyUtil
service (hence the existing RwLock
), however it is currently not threadsafe refcounted, or refcounted off-main-thread.
Assignee | ||
Comment 1•2 years ago
|
||
This type is used off-main-thread through the ThirdPartyUtil service
(hence the existing RwLock), however it is currently neither threadsafe
refcounted, nor refcounted off-main-thread. This change also allows it
to be directly used off-main-thread, rather than through the
ThirdPartyUtil
service.
I also added thread-safety annotations to the fields to get better
static checking for the thread-safety of accesses.
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9c632e12a7f8
Make the nsEffectiveTLDService use threadsafe refcounting, r=necko-reviewers,dragana
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox107:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•