nsDebugImpl is listed as a leak

RESOLVED FIXED

Status

()

Core
XPCOM
--
minor
RESOLVED FIXED
14 years ago
14 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

14 years ago
steps:
XPCOM_MEM_LEAK_LOG=1 ./run-mozilla.sh -g ./xpcshell
js> Components.classes; quit();

Output:
    
|<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->|
                                              Per-Inst   Leaked    Total     
Rem      Mean       StdDev     Total      Rem      Mean       StdDev
   0 TOTAL                                          47       40     5106       
2 (  142.48 +/-    81.76)     6718        2 (  142.33 +/-    94.70)
nsTraceRefcnt::DumpStatistics: 57 entries
  25 nsDebugImpl                                    12       12        1       
1 (    1.00 +/-     0.00)        2        1 (    1.33 +/-     0.58)
  47 nsThread                                       28       28        1       
1 (    1.00 +/-     0.00)        4        1 (    2.29 +/-     1.11)

Found on:
Cobra		Darwin	PPC
Deathstarii 	Solaris	Sparc
Boffo		Linux	x86
(Assignee)

Comment 1

14 years ago
Created attachment 128974 [details] [diff] [review]
move debug impl free above statistic dump
(Assignee)

Updated

14 years ago
Attachment #128974 - Flags: review?(dougt)

Comment 2

14 years ago
Comment on attachment 128974 [details] [diff] [review]
move debug impl free above statistic dump

the policy now is that nsTraceRefCnt may not have access to gDebug during
shutdown.  I guess that is okay.
Attachment #128974 - Flags: review?(dougt) → review+
(Assignee)

Comment 3

14 years ago
checked in
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.