[email protected]
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
[email protected]
a674911efb
Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
...
Bug #232763 r=dbaron sr=brendan
2004-02-11 07:16:11 +00:00
[email protected]
51f786cabd
Backing out previous changes.
...
Missed a cplus_demangle call and it turns out that all of trace-malloc needs to be tweaked to use c++ instead of C.
Bug #232763
2004-02-10 18:55:04 +00:00
[email protected]
404f4c928d
Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle.
...
Bug #232763 r=dbaron sr=brendan
2004-02-10 16:19:47 +00:00
[email protected]
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
[email protected]
419acc754e
Fixing bustage
2003-08-05 06:42:22 +00:00
[email protected]
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
[email protected]
80b5831587
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
2003-04-04 15:10:37 +00:00
[email protected]
7a687dc132
Fix shutdown leaks in nsTraceRefcnt. b=63665 r=timeless sr=alecf
2003-03-25 14:53:01 +00:00
[email protected]
97c2e25ec8
removing NS_MT_SUPPORTED define. b=186494, r=dougt, r=seawood
2003-03-05 23:30:22 +00:00
[email protected]
3f66835571
move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood.
2003-01-15 20:40:06 +00:00
[email protected]
0530d8289a
Most of the changes needed for Mozilla to build with gcc's -pedantic-errors option. b=175423 r=seawood sr=bryner
2003-01-13 23:15:42 +00:00
[email protected]
8a88f30fc6
Change my email address from [email protected] to [email protected] . Comment changes only.
2003-01-01 23:53:20 +00:00
[email protected]
3e3fbe662c
Make Linux stack walking code (DEBUG only) print library and offset information even when symbol is unavailable. b=174168 r=bbaetz sr=bzbarsky a=rjesup
2002-10-14 23:59:31 +00:00
[email protected]
c63437dfa3
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
2002-02-20 06:38:38 +00:00
[email protected]
74f7d6a45d
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. [email protected] , [email protected]
2002-01-24 09:20:51 +00:00
[email protected]
7b11ce4308
Fix stack walking code to work correctly on RedHat 7.2 systems. b=106616 r=jag rs=blizzard
2002-01-16 00:40:36 +00:00
[email protected]
e13e7e525a
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
[email protected]
a840b26a0f
fix build bustage caused by recent checkin
2001-12-11 23:56:37 +00:00
[email protected]
c7fce0d8d7
Fix bug 113958, win32 nsTraceRefcnt support.
...
r=dbaron, sr=brendan
2001-12-11 22:26:47 +00:00
[email protected]
2166d19d6f
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
[email protected]
a7f69cf8c6
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
[email protected]
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
[email protected]
7fafe3a15f
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
[email protected]
c59b959b20
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 [email protected] [email protected]
2001-08-14 04:18:27 +00:00
[email protected]
806e30676e
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
[email protected]
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.
[email protected] [email protected]
2000-12-23 16:43:32 +00:00
[email protected]
80503f1a38
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
[email protected] [email protected]
2000-12-02 16:10:50 +00:00
[email protected]
d2dbe6efa5
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
[email protected]
0462ea4ce8
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
[email protected]
7730ce0cd3
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
[email protected]
86cd1863b8
Reverted change from [email protected] to print warning. This gets called erroneously when the program quits.
2000-07-19 09:32:35 +00:00
[email protected]
075568d2e0
Bug 40810 - warning message. Checking in for [email protected] r=warren
2000-07-12 00:28:57 +00:00
[email protected]
1b683b5227
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
[email protected]
3688145789
Fix to allow refcnt'ing on the Solaris platform.
...
[email protected] [email protected]
Bug #40769
2000-06-26 22:23:47 +00:00
[email protected]
6acf7741f9
Code for nsCOMPtr leak logging, a new tool to help debug memory leaks (not yet fully enabled on non-autoconf platforms). [email protected]
2000-06-15 02:23:55 +00:00
[email protected]
19e0f91dea
Fix for bug #40997 . a=warren
2000-06-02 15:50:36 +00:00
[email protected]
bf8f7b77df
# 37239
...
r = valeski, a = brendan
OS/2 bringup on M16 continues - PR_CALLBACKs for VisualAge
2000-06-01 14:12:05 +00:00
[email protected]
5b76329f58
Make XPCOM_MEM_LOG_OBJECTS work with alloc logging (before it worked only with refcount logging). [email protected]
2000-04-22 00:40:13 +00:00
[email protected]
f50fe4bfcd
Alphabetize the bloat log output.
2000-04-18 06:00:24 +00:00
[email protected]
add00bf691
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
[email protected]
d7c624bb00
Removing xpcom dependency on prefs by eliminating enabling refcount
...
logging from prefs.
2000-03-25 08:35:35 +00:00
[email protected]
61f2110faf
Stack walking code for powerpc linux. Thanks to patch from
...
[email protected] r=waterson
2000-03-23 23:39:25 +00:00
[email protected]
543510bad0
Fix for leak detection. Bug 29505. Debug only. code=waterson,r=warren,a=jevering
2000-02-29 01:35:38 +00:00
[email protected]
ed5fc024d6
Fixed comment
2000-02-24 06:02:38 +00:00
[email protected]
1e832b1fbc
Fixing bustage -- NS_MeanAndStdDev not included in release builds.
2000-02-24 05:40:40 +00:00
[email protected]
bd23f63685
Bug 28413. Correct computation of total leaks. [email protected] [email protected]
2000-02-22 13:25:20 +00:00
[email protected]
7c935a182d
Pulled out NS_MeanAndStdDev as an xpcom exported function for convenience.
2000-02-05 02:07:45 +00:00
[email protected]
bca60a48cc
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
[email protected]
0212fba9bf
Fix for leak/bloat stats going negative. a=jar
1999-12-10 04:27:52 +00:00