Closed Bug 302724 Opened 19 years ago Closed 19 years ago

nsHostRecord and nsHostResolver are refcounted but don't log

Categories

(Core :: Networking, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(2 files)

This makes debugging refcount cycles involving these classes hard.  Compare
http://lxr.mozilla.org/seamonkey/source/netwerk/dns/src/nsHostResolver.h#54 to
http://lxr.mozilla.org/seamonkey/source/layout/style/nsStyleContext.h#80 (not
the NS_LOG_* calls in the latter).
Attached patch Like soSplinter Review
Attachment #203089 - Flags: superreview?(darin)
Attachment #203089 - Flags: review?(darin)
Attachment #203089 - Flags: superreview?(darin)
Attachment #203089 - Flags: superreview+
Attachment #203089 - Flags: review?(darin)
Attachment #203089 - Flags: review+
Assignee: darin → bzbarsky
Target Milestone: --- → mozilla1.9alpha
Fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
The leak stats get really confused when negative numbers are introduced.
Attachment #203288 - Flags: superreview?(bzbarsky)
Attachment #203288 - Flags: review?(bzbarsky)
(I checked that patch in to fix the leak stats on tinderbox; review still welcome.)
Comment on attachment 203288 [details] [diff] [review]
don't put negative numbers into the leak stats

Doh.  Thanks for catching this!
Attachment #203288 - Flags: superreview?(bzbarsky)
Attachment #203288 - Flags: superreview+
Attachment #203288 - Flags: review?(bzbarsky)
Attachment #203288 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: