Replace dedicated `XULStore` thread with background tasks
Categories
(Core :: SQLite and Embedded Database Bindings, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox78 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
XULStore currently spins up its own thread for background persistence. We can replace this with a call to dispatch_background_task in persist—I don't think we even need a queue in this case.
| Assignee | ||
Comment 1•5 years ago
|
||
Depends on D75863
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Backed out changeset (Bug 1638927) 48cd04b805d0 Mochitest failures at inline_lazy.rs
https://hg.mozilla.org/integration/autoland/rev/3362d9133ec346616292a5f86e020a79cf163126
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303208758&repo=autoland&lineNumber=1978
| Assignee | ||
Comment 4•5 years ago
|
||
Hmmm, I wonder if it's the same thing as this GitHub issue. Since we already have once_cell in the tree, and it seems to have a better threading story, let's give it a try.
| Assignee | ||
Comment 5•5 years ago
|
||
TSan returns false positives for lazy_static. While we could
blocklist it, once_cell has equivalent functionality, but with a more
modern API, so let's use it instead.
Depends on D75864
Comment 8•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/89d99941f3af
https://hg.mozilla.org/mozilla-central/rev/1785974f69f2
Updated•1 year ago
|
Description
•