Closed
Bug 230368
Opened 21 years ago
Closed 21 years ago
better refcount logging for nsXULPrototypeNode subclasses
Categories
(Core :: XUL, defect, P1)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla1.7alpha
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Whiteboard: [patch])
Attachments
(1 file, 4 obsolete files)
8.29 KB,
patch
|
bryner
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
nsXULPrototypeNode and its subclasses are reference counted. I have a patch to
hook them up to refcount logging.
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [patch]
Target Milestone: --- → mozilla1.7alpha
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Comment 2•21 years ago
|
||
sizeof(*this), not sizeof(this)
Attachment #138589 -
Attachment is obsolete: true
Assignee | ||
Comment 3•21 years ago
|
||
Plus a change to fix some wacky code in the XBL content sink.
Attachment #138594 -
Attachment is obsolete: true
Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 138596 [details] [diff] [review]
patch
Well, I can no longer reproduce the leak I was trying to find using this patch,
but I think it's a good patch anyway.
(The leak was that I was seeing 3 nsXULPrototypeScript and 4
nsXULPrototypeElement leaked, with one leaked reference each. The former held
JS GC roots that held a bunch of other stuff. The whole thing was just doing
"./mozilla -mail".)
Attachment #138596 -
Flags: superreview?(bryner)
Attachment #138596 -
Flags: review?(bryner)
Assignee | ||
Updated•21 years ago
|
Attachment #138596 -
Flags: superreview?(bryner)
Attachment #138596 -
Flags: review?(bryner)
Assignee | ||
Comment 5•21 years ago
|
||
cleaner approach
Assignee | ||
Updated•21 years ago
|
Attachment #138596 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #138598 -
Flags: superreview?(bryner)
Attachment #138598 -
Flags: review?(bryner)
Assignee | ||
Comment 6•21 years ago
|
||
ok, virtual functions aren't good things to call from base class constructors
Attachment #138598 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #138598 -
Flags: superreview?(bryner)
Attachment #138598 -
Flags: review?(bryner)
Assignee | ||
Updated•21 years ago
|
Attachment #138599 -
Flags: superreview?(bryner)
Attachment #138599 -
Flags: review?(bryner)
Comment 7•21 years ago
|
||
Comment on attachment 138599 [details] [diff] [review]
patch
Drive-by: looks good to me, just lose the extraneous ; on the nearby line shown
in context:
virtual void ReleaseSubtree() { Release(); };
/be
Updated•21 years ago
|
Attachment #138599 -
Flags: superreview?(bryner)
Attachment #138599 -
Flags: superreview+
Attachment #138599 -
Flags: review?(bryner)
Attachment #138599 -
Flags: review+
Assignee | ||
Comment 8•21 years ago
|
||
Fix checked in to trunk, 2003-01-08 16:01 -0800.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 9•21 years ago
|
||
I don't have time/access to run Purify anymore, but a lot of leaks that I've
filed in the past should still be valid...
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•