Closed
Bug 1131901
Opened 11 years ago
Closed 11 years ago
Add infallible version of PL_DHashTableAdd()
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla38
| Tracking | Status | |
|---|---|---|
| firefox38 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(2 files)
|
55.33 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
|
3.22 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
The hash table entry storage lazification in bug 1050035 was backed out due to instability. But parts 4 and 5, which added an infallible version of PL_DHashTableAdd(), should be able to land safely now.
| Assignee | ||
Comment 1•11 years ago
|
||
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
| Assignee | ||
Comment 2•11 years ago
|
||
| Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8562539 [details] [diff] [review]
(part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative
Review of attachment 8562539 [details] [diff] [review]:
-----------------------------------------------------------------
Carrying over r+ from bug 1050035.
Attachment #8562539 -
Flags: review+
| Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8562542 [details] [diff] [review]
(part 2) - Make CCGraphBuilder::AddNode() infallible
Review of attachment 8562542 [details] [diff] [review]:
-----------------------------------------------------------------
Carrying over r+ from bug 1050035.
Attachment #8562542 -
Flags: review+
| Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ee592ac6cc90
https://hg.mozilla.org/mozilla-central/rev/9ccc4502a5f0
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•