Open
Bug 1006667
Opened 10 years ago
Updated 2 years ago
Add SizeOf helpers that choose the right SizeOf{In,Ex}cludingThis function
Categories
(Core :: MFBT, defect)
Core
MFBT
Tracking
()
NEW
People
(Reporter: erahm, Unassigned)
Details
Attachments
(1 file)
914 bytes,
text/plain
|
Details |
In bug 1003479 :njn proposed adding helpers to avoid calling the wrong SizeOf function (|SizeOfIncludingThis| for heap allocated members, |SizeOfExcludingThis| for non-heap allocated members). These helpers would presumably live in MemoryReporting.h.
Additionally it might be nice to add helpers for common container types (nsTArray comes to mind).
Updated•10 years ago
|
Whiteboard: [MemShrink]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•