Closed
Bug 455391
Opened 18 years ago
Closed 10 years ago
nsCertOverrideService's mSettingsTable wastes memory
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bzbarsky, Assigned: timeless)
References
Details
(Whiteboard: [psm-logic])
Attachments
(1 file)
|
13.43 KB,
patch
|
Details | Diff | Splinter Review |
When we init this table, there is a debug message:
pldhash: for the table at address 0x6f57ab0, the given entrySize of 76
definitely favors chaining over double hashing.
The issue is that the nsCertOverride struct is pretty big. It can by shrunk by 8 bytes by combining the port, boolean, and bits into a single 32-bit value, but that doesn't really solve the problem. It might be worth it to store a pointer to a nsCertOverride here instead of storing an nsCertOverride directly.
Updated•16 years ago
|
Assignee: kaie → nobody
Whiteboard: [psm-logic]
is this roughly what you wanted?
| Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 497776 [details] [diff] [review]
proposal
I didn't want anything; I just reported a bug about an obvious inefficiency. I have no idea what this code is doing and why....
Attachment #497776 -
Flags: feedback?(bzbarsky)
Comment 3•10 years ago
|
||
Users don't have enough certificate overrides to make this much of an issue (telemetry indicates the vast majority of users have <100 overrides).
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•