Commit Graph

40 Commits

Author SHA1 Message Date
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Rafael Ávila de Espíndola
df9f064589 Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg 2011-03-24 19:26:55 -04:00
Serge Gautherie
8e975772b0 Bug 448934 – |nsTraceRefcnt::DumpStatistics()| write number of entries in the "middle" of the array
(Av1) <nsTraceRefcntImpl.*>
2008-08-03 23:39:04 +02:00
509219301a Remove nsTraceRefcnt::LoadLibrarySymbols, which is no longer needed due to the error handling in SymGetModuleInfoEspecial. b=391793 r+a=bsmedberg 2007-08-13 12:36:57 -07:00
benjamin@smedbergs.us
00d84a96a3 Bug 325229 part 1 - standalone glue registers exit routine which is called after module unload; also fixes bug 317481 - C API for nsTraceRefcnt; also fixes bug 318622 - Make nsTraceRefcntImpl::SetActivityIsLegal work properly and turn it on; design review by dbaron, r=darin 2006-02-10 15:00:36 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bryner@brianryner.com
3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
dbaron@dbaron.org
6d7a5a51a2 Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
dougt@meer.net
af957888be Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
timeless@mozdev.org
92a3737c5c Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
scc@mozilla.org
7dc1aca6e8 bug #78016 r=dbradley, sr=dbaron 2003-02-25 15:53:36 +00:00
dbaron@fas.harvard.edu
8a88f30fc6 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dougt@netscape.com
9d1ff1231b Fixes HP bustage in xpcom. patch by pkw@austin.ibm.com, r=dougt, sr=alecf 2002-08-08 04:58:54 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron@fas.harvard.edu
ee2e110097 Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
Implement (without enabling, yet) assertions to warn about static constructors.  b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon.  b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com  sr=brendan@mozilla.org
2000-12-23 16:43:32 +00:00
dbaron@fas.harvard.edu
6acf7741f9 Code for nsCOMPtr leak logging, a new tool to help debug memory leaks (not yet fully enabled on non-autoconf platforms). r=waterson@netscape.com 2000-06-15 02:23:55 +00:00
bruce@cybersight.com
23ee055506 Reverting a checkin from slamm last Friday that broke builds done with gcc 2.7.2.3 triggering what appears to be a compiler bug resulting in undefined symbols. I sent mail to slamm letting him know as well. 2000-03-28 03:53:54 +00:00
slamm@netscape.com
59c4e88376 Quiet some Mac warnings. Replace empty macro definition for MOZ_DECL_CTOR_COUNTER(_type) with "class _type". 2000-03-24 21:49:31 +00:00
slamm@netscape.com
1e13a99f4f Quiet 'Illegal empty declaration' warning from Mac. 2000-03-23 23:29:29 +00:00
warren@netscape.com
faabce8eaf Made NS_MeanAndStdDev be extern 'C' 2000-02-24 04:55:05 +00:00
warren@netscape.com
7c935a182d Pulled out NS_MeanAndStdDev as an xpcom exported function for convenience. 2000-02-05 02:07:45 +00:00
nisheeth@netscape.com
8f9bff71d6 r=harishd.
- The stack walking code now works on windows.  We were initializing the symbol handler on each DLL load which was resetting its symbol tables.  Now, we don't re-init the symbol handler repeatedly.

- Added support for an environment variable, XPCOM_REFCNT_LOG_ENABLE_VIA_PREF.  When this is set to 1, refcount logging is done based on whether the "Enable XPCOM refcount log" pref in the Debug pane is set.  If this is not set, refcount logging is not affected by the pref.
1999-11-19 03:50:28 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
warren@netscape.com
f12f1a8b49 Cleaned up nsTraceRefcnt environment variables. r=kipp,beard 1999-10-23 03:16:19 +00:00
waterson@netscape.com
0fa62aa36b Modify nsTraceRefcnt::WalkTheStack() to accept a stream. Other misc formatting fixup. work really done by beard, r=waterson. 1999-10-21 03:44:37 +00:00
warren@netscape.com
2421f8c087 Added total/summary information to bloat log. Made LogNewXPCOM/LogDeleteXPCOM only be needed for losing architectures. 1999-10-16 01:57:18 +00:00
warren@netscape.com
f389c8b5e7 Fixed nsnull problem! 1999-10-12 11:21:26 +00:00
warren@netscape.com
3c51768796 Made nsTraceRefcnt output write to streams. 1999-10-12 09:30:12 +00:00
warren@netscape.com
9714660452 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
kipp@netscape.com
8e43b27b25 Merged bloaty and moz ctor counting (space team work) 1999-10-08 20:29:47 +00:00
warren@netscape.com
155e789cd3 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +00:00
kipp@netscape.com
17e503e043 Renamed the ctor/dtor counting macros to make more sense 1999-10-05 14:54:05 +00:00
kipp@netscape.com
e663f09e2e Fixed build wastage 1999-10-05 01:43:34 +00:00
waterson@netscape.com
5793bf8435 Bug 15367. Dump 'class' instead of 'file/line' for NS_LOG_REFCNT. r=shaver,dp 1999-10-05 00:07:54 +00:00
kipp@netscape.com
0b18cc62a6 r=dp; implement some macros to help track memory leaks 1999-10-04 23:36:18 +00:00
ramiro@netscape.com
7ec3681777 Add DemangleSymbol() for demangling symbols on linux. 1999-09-14 13:24:25 +00:00
waterson@netscape.com
6ab1fa90ad Add MOZ_TRACE_REFCNT to allow you to instrument individual implementations of AddRef() & Release(). 1999-06-15 03:25:27 +00:00
kipp@netscape.com
cca44b482d Expose WalkTheStack 1998-11-26 18:03:20 +00:00
scullin@netscape.com
6ab8556c60 Migrating public header files to public 1998-10-19 17:48:55 +00:00