Allow nsBaseHashtable to work with a non-default-constructible/non-movable DataType
Categories
(Core :: XPCOM, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(1 file, 2 obsolete files)
We are converting some code to use NotNull in bug 1680275. It works fine with nsTArray, but nsTHashtable and other hash table classes currently don't work with NotNull. The main problem is that NotNull can't be default constructed.
An experimental patch can be found here: https://phabricator.services.mozilla.com/D99198
Assignee | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
This is a temporary patch which eventually gets folded into D99428.
Depends on D99428
Updated•3 years ago
|
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6ecaa139c502 Allow nsBaseHashtable to work with a non-default-constructible/non-movable DataType; r=nika
Comment 6•3 years ago
|
||
Backed out changeset 6ecaa139c502 (bug 1681469) for gtest AddressSanitizer failures.
https://hg.mozilla.org/integration/autoland/rev/9ba39e91c27cd7d34515cadcf3ff42adfdce2bd9
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&revision=6ecaa139c502671fb8b62553cdf16f2a36151b73&selectedTaskRun=eZ67qp8bTU67j6XT-Ctd5w.0
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=328168919&repo=autoland&lineNumber=2953
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/78a57e651002 Allow nsBaseHashtable to work with a non-default-constructible/non-movable DataType; r=nika
Comment 8•3 years ago
|
||
bugherder |
Comment 9•3 years ago
|
||
Comment on attachment 9193208 [details]
Bug 1681469 - Some amendments.
Revision D99764 was moved to bug 1688833. Setting attachment 9193208 [details] to obsolete.
Assignee | ||
Comment 10•11 months ago
|
||
Landed again after disabling code which doesn't work in ASAN builds.
Description
•