Closed Bug 214681 Opened 21 years ago Closed 21 years ago

nsDebugImpl is listed as a leak

Categories

(Core :: XPCOM, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file)

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
Attachment #128974 - Flags: review?(dougt)
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+
checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: