Closed
Bug 677487
Opened 13 years ago
Closed 12 years ago
Add a public getter for mRefCount to nsStringBuffer
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 723799
People
(Reporter: mounir, Unassigned)
References
Details
nsAttrValue tries to compute its size in the heap by computing a nsStringBuffer size but the size should be divided by the number of object owning the object. An alternative might be to do this computation in nsDOMMemoryReporter which could be a friend of nsStringBuffer.
Comment 1•12 years ago
|
||
Bug 723799's patch will fix this -- nsStringBuffer::SizeOfIncludingThisIfUnshared() avoids the double-counting.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•