Open
Bug 1507434
Opened 6 years ago
Updated 2 years ago
Use tagged pointers to reduce the memory usage of observer lists
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: gsvelto, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [overhead:4k])
Observer lists use 16 bytes per entry (on 64-bit hots) due to structure size rounding. Using tagged pointers would allow us to reserve an unused bit in the listener pointer to represent the weak boolean member variable and cut the storage requirements in half.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•