Commit Graph

77 Commits

Author SHA1 Message Date
blythe%netscape.com
00c321d9fb Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf
2002-01-09 19:03:01 +00:00
blythe%netscape.com
b2f5ffeffc fix build bustage caused by recent checkin 2001-12-11 23:56:37 +00:00
blythe%netscape.com
fbfee2b106 Fix bug 113958, win32 nsTraceRefcnt support.
r=dbaron, sr=brendan
2001-12-11 22:26:47 +00:00
dbaron%fas.harvard.edu
28f8916d31 Changing |#ifdef DEBUG_dbaron| to |#ifdef DEBUG_dbaron_off| so I don't see these assertions anymore. 2001-11-22 23:19:33 +00:00
blizzard%redhat.com
93f2b40fba null check in stack trace code so we don't crash on some systems. r=bryner, dbaron no bug number. 2001-11-09 16:18:56 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
cls%seawood.org
4011aa29d9 Replace previous 64-bit safe checkin with one that maintains the proper output of nsTraceRefcnt.
Bug #20860 r=dbaron sr=brendan
2001-08-15 03:30:39 +00:00
cls%seawood.org
80edcd8228 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
mjudge%netscape.com
a79e1f9316 R,SR = waterson, kin, brendan. trace_malloc work. these changes should only be iuncorporated into the build process if someone defines MOZ_TRACE_MALLOC into their build 2001-01-25 22:54:05 +00:00
dbaron%fas.harvard.edu
6b1c9bf9dc 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
3a40e42717 Add information to stack trace format so it can be processed by addr2line. b=59136
Make logging not crash when dll unloading is enabled.  b=60710
r=waterson@netscape.com  sr=brendan@mozilla.org
2000-12-02 16:10:50 +00:00
brendan%mozilla.org
4a242ba8a6 Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build). 2000-11-22 08:05:05 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
warren%netscape.com
9cb1fc4213 Reverted change from doronr@naboonline.com to print warning. This gets called erroneously when the program quits. 2000-07-19 09:32:35 +00:00
warren%netscape.com
5946c0c8bf Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren 2000-07-12 00:28:57 +00:00
rich.burridge%sun.com
049a2966bf Fix to prevent build bustage on nebiros with Sun compilers.
The Sun compiler expects a specific format for the function
used by the #pragma statement. It should return void and
have no arguments. It also needs an initial function prototype.
r=cls
Fix for breakage for checkin for bug #40769.
2000-06-27 05:58:00 +00:00
rich.burridge%sun.com
69a9f4b960 Fix to allow refcnt'ing on the Solaris platform.
r=scc@mozilla.org a=brendan@mozilla.org
Bug #40769
2000-06-26 22:23:47 +00:00
dbaron%fas.harvard.edu
e3d2d8d1d7 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
rusty.lynch%intel.com
f592edc947 Fix for bug #40997. a=warren 2000-06-02 15:50:36 +00:00
mkaply%us.ibm.com
367a3f2df3 # 37239
r = valeski, a = brendan
OS/2 bringup on M16 continues - PR_CALLBACKs for VisualAge
2000-06-01 14:12:05 +00:00
dbaron%fas.harvard.edu
0beedca95a Make XPCOM_MEM_LOG_OBJECTS work with alloc logging (before it worked only with refcount logging). r=waterson@netscape.com 2000-04-22 00:40:13 +00:00
waterson%netscape.com
f7ccb7c367 Alphabetize the bloat log output. 2000-04-18 06:00:24 +00:00
beard%netscape.com
7e9990507f XP_MAC improvements, stack walking, pc to name translation, early toolbox initialization so console will pop-up in correct location. 2000-04-13 03:51:43 +00:00
dp%netscape.com
85d20b4769 Removing xpcom dependency on prefs by eliminating enabling refcount
logging from prefs.
2000-03-25 08:35:35 +00:00
dp%netscape.com
1c85821145 Stack walking code for powerpc linux. Thanks to patch from
darkmane@w-link.net r=waterson
2000-03-23 23:39:25 +00:00
warren%netscape.com
9706510472 Fix for leak detection. Bug 29505. Debug only. code=waterson,r=warren,a=jevering 2000-02-29 01:35:38 +00:00
warren%netscape.com
1abeb9baf7 Fixed comment 2000-02-24 06:02:38 +00:00
warren%netscape.com
ebe515a64e Fixing bustage -- NS_MeanAndStdDev not included in release builds. 2000-02-24 05:40:40 +00:00
dbaron%fas.harvard.edu
e866e998ed Bug 28413. Correct computation of total leaks. r=warren@netscape.com a=rickg@netscape.com 2000-02-22 13:25:20 +00:00
warren%netscape.com
1adb95c763 Pulled out NS_MeanAndStdDev as an xpcom exported function for convenience. 2000-02-05 02:07:45 +00:00
warren%netscape.com
658e423c71 Fixed problem where avg instance size was computed based on remaining object count, rather than total allocated count. May affect bloat stats on tinderbox. 2000-01-27 05:14:51 +00:00
warren%netscape.com
7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
nisheeth%netscape.com
8eb460b1ea Attempt to fix mac build bustage. 1999-11-19 07:37:04 +00:00
mcafee%netscape.com
2cd6e87051 I forgot more stuff for prefs, fixing bustage per my last checkin here. 1999-11-19 05:54:58 +00:00
mcafee%netscape.com
5289498678 includes were incorrectly wrapped in the NS_BUILD_REFCNT_LOGGING define, fixing mac/win32 bustage. 1999-11-19 05:08:58 +00:00
nisheeth%netscape.com
a03bdd0283 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
akhil.arora%sun.com
d2d2a9d816 18639 r=dp need to cast away the const returned by the sun C++ 5.0 compiler 1999-11-12 23:52:17 +00:00
waterson%netscape.com
38e277d57c Oops. Make sure XPCOM_MEM_LOG_CLASSES works without XPCOM_MEM_REFCNT_LOG being set. a=warren 1999-11-11 05:02:03 +00:00
waterson%netscape.com
db40914d6a Bug 18069. Support XPCOM_MEM_TRACE_OBJECTS, per-object reference count tracing. r=warren 1999-11-11 03:23:24 +00:00
dmose%mozilla.org
142ac52eaf 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
ae01c120df Fixed round-off error computing bloat total. 1999-10-29 18:48:37 +00:00
warren%netscape.com
4406d6612d Took out bogus error message. 1999-10-29 03:19:11 +00:00
warren%netscape.com
816ad655d9 Fixed bug in calculating leak total. 1999-10-28 08:35:53 +00:00
warren%netscape.com
3fda695ea8 Fixed up dll loading for Windows. It was silently failing. 1999-10-24 22:01:09 +00:00
warren%netscape.com
8cbce82f94 Fixed logic for XPCOM_MEM_LOG_CLASSES case. 1999-10-24 09:13:52 +00:00
warren%netscape.com
8558ad745c Cleaned up nsTraceRefcnt environment variables. r=kipp,beard 1999-10-23 03:16:19 +00:00
waterson%netscape.com
ba16fbcd96 Fix solaris (and other unsupported platforms). 1999-10-21 04:28:07 +00:00
waterson%netscape.com
399d707e95 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
f07e3a1f57 Added total/summary information to bloat log. Made LogNewXPCOM/LogDeleteXPCOM only be needed for losing architectures. 1999-10-16 01:57:18 +00:00