Closed
Bug 1129786
Opened 9 years ago
Closed 9 years ago
Unlazify initialization of some PLDHashTables
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(2 files, 1 obsolete file)
8.58 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
9.61 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
In bug 700914 and bug 1059056 we lazified the initialization of some PLDHashTables in cases where the tables often never had anything put into them. This avoided some unnecessary allocations. But now that bug 1050035 has landed, PLDHashTable does this optimization itself, and we can simplify things by undoing the previous patches.
Assignee | ||
Comment 1•9 years ago
|
||
Now that empty PLDHashTables don't allocate any entry storage, we can undo the lazification of RuleHash::m*Table from bug 700914. r=bz.
Attachment #8559585 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•9 years ago
|
||
Now that empty PLDHashTables don't allocate any entry storage, we can undo the lazification of nsDOMAttributeMap::mAttributeCache from bug 1059056.
Attachment #8559586 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•9 years ago
|
||
fix up the log message
Attachment #8559590 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•9 years ago
|
Attachment #8559585 -
Attachment is obsolete: true
Attachment #8559585 -
Flags: review?(bzbarsky)
Comment 4•9 years ago
|
||
Comment on attachment 8559586 [details] [diff] [review] (part 2) - Instantiate nsDOMAttributeMap::mAttributeCache eagerly r=me
Attachment #8559586 -
Flags: review?(bzbarsky) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8559590 [details] [diff] [review] (part 1) - Instantiate RuleHash::m*Table eagerly r=me
Attachment #8559590 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Try looks good: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a3d84265b196
Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f75beaf3149f https://hg.mozilla.org/integration/mozilla-inbound/rev/327a93e5cc39
https://hg.mozilla.org/mozilla-central/rev/f75beaf3149f https://hg.mozilla.org/mozilla-central/rev/327a93e5cc39
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•