Commit Graph
44 Commits
Author SHA1 Message Date
nisheeth@netscape.com 56a35c3853 Attempt to fix mac build bustage. 1999-11-19 07:37:04 +00:00
mcafee@netscape.com d2238d7736 I forgot more stuff for prefs, fixing bustage per my last checkin here. 1999-11-19 05:54:58 +00:00
mcafee@netscape.com 48905191c0 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 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
akhil.arora@sun.com 1f94554743 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 6195dc8fb2 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 c25ecb6b50 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 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 e400b77ea1 Fixed round-off error computing bloat total. 1999-10-29 18:48:37 +00:00
warren@netscape.com 12e89d8fcc Took out bogus error message. 1999-10-29 03:19:11 +00:00
warren@netscape.com 6503f37ffa Fixed bug in calculating leak total. 1999-10-28 08:35:53 +00:00
warren@netscape.com bbb8425955 Fixed up dll loading for Windows. It was silently failing. 1999-10-24 22:01:09 +00:00
warren@netscape.com e46716fac9 Fixed logic for XPCOM_MEM_LOG_CLASSES case. 1999-10-24 09:13:52 +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 6037168c2a Fix solaris (and other unsupported platforms). 1999-10-21 04:28:07 +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 aa86a80f71 Reordered columns as per macafee's suggestion. 1999-10-14 04:37:13 +00:00
warren@netscape.com fcd45cb471 Fixed return value for non-debug builds. 1999-10-12 10:27:40 +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 2d7c08a1b1 Tweaked to avoid a crash in case bloat tracking is on but there is no bloat data to dump 1999-10-08 23:39:57 +00:00
kipp@netscape.com 2333fd1810 Fixed opt build bustage 1999-10-08 22:04:04 +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 b48098e535 Fixed bug in computing object count mean and stddev. 1999-10-08 04:39:24 +00:00
warren@netscape.com 155e789cd3 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +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
waterson@netscape.com 22f917242f Use tabs instead of spaces separate frames in stack dump: new demangling code introduces spaces. 1999-09-20 03:45:21 +00:00
ramiro@netscape.com b30c16c0cc Fix mac and windows builds. 1999-09-14 13:44:20 +00:00
ramiro@netscape.com c64c801699 Add MOZ_DEMANGLE_SYMBOLS to debug builds for demangling symbols. 1999-09-14 13:30:12 +00:00
ramiro@netscape.com 7ec3681777 Add DemangleSymbol() for demangling symbols on linux. 1999-09-14 13:24:25 +00:00
jband@netscape.com 5bd0739a35 differentiate between Win32 x86 and NT Alpha for a few low level debug activities. From bob meader <bob@guiduck.com> 1999-07-24 22:00:00 +00:00
ramiro@netscape.com b0657cd293 Add #ifdefs to make sure it only build on supported linux platforms. 1999-06-21 02:29:17 +00:00
ramiro@netscape.com f4e4346baf Make it work with gnu libc 2.1. On glibc 2.1, the Dl_info api defined in
<dlfcn.h> is only exposed __USE_GNU is defined.  I suppose its some kind of
standards adherence thing.
1999-06-16 04:55:36 +00:00
waterson@netscape.com 87596d3fa6 Add WalkTheStack() implementation for i386 Linux. Tip o' the hat to kipp for the stack walking code, and shaver for the dladdr() hint. Replace PR_snprintf() with nsIToA(). 1999-06-16 02:05:32 +00:00
waterson@netscape.com 48ad9e4737 Clean up stack trace output: add displacements and remove spaces that sometimes appear in demangled symbols (so my perl script doesn't barf). 1999-06-15 05:27:09 +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
braddr@puremagic.com 4f5633a811 Move some trace refcounting only code and variables inside the proper ifdefs 1999-04-10 08:50:50 +00:00
troy@netscape.com 9a2a3934e2 Per Kipp's request, added patch from Mark Harvey (Mark.Harvey@wireplay.bt.co.uk) so we
don't have an imagehlp.dll dependency unless MOZ_TRACE_XPCOM_REFCNT is defined
1999-02-26 17:39:55 +00:00
kipp@netscape.com cca44b482d Expose WalkTheStack 1998-11-26 18:03:20 +00:00
rpotts@netscape.com e4f4c692b2 Made nsTraceRefcnt threadsafe... 1998-09-19 06:56:22 +00:00
kipp@netscape.com 8d6364e116 Only execute SymLoadModule when tracing is enabled 1998-09-15 00:13:35 +00:00
kipp@netscape.com 2013cb2c95 new 1998-09-12 19:25:06 +00:00