dbaron@dbaron.org
328355160c
Define the __libc_* on Windows to something that does automatic suppression, like on Linux. b=391477 r+a=brendan
2007-08-10 15:21:13 -07:00
dbaron@dbaron.org
422a0fc1a3
Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
2007-08-10 15:20:48 -07:00
dbaron@dbaron.org
6670b28699
Start reducing the scope of locking in trace-malloc, and convert the PRMonitor to a PRLock. b=376874 r+a=brendan
2007-08-10 15:19:32 -07:00
dbaron@dbaron.org
a49cd8a925
Use thread-local storage for tracing suppression. b=376874 r+a=brendan
2007-08-10 15:19:14 -07:00
dbaron@dbaron.org
789c80708a
Improve performance when trace-malloc is built but not used by adding a fast-path around the locking. b=150015 r=brendan a=bzbarsky
2007-08-10 14:24:32 -07:00
dbaron@dbaron.org
c56b47ee0e
Replace printf that fires all the time with an assertion for what I really want to check.
2007-04-03 18:35:35 -07:00
dbaron@dbaron.org
067795a0de
The tinderbox problem was due to insufficient STARTUP_TMBUFSIZE, so re-increase the buffer size to 64K (from 16K) and comment out my debugging code.
2007-04-03 18:06:34 -07:00
dbaron@dbaron.org
0f6acba91f
Back out startup buffer size change (but leave diagnostic).
2007-04-03 17:53:26 -07:00
dbaron@dbaron.org
c4ffe98bcd
Try increasing startup buffer size to see if it fixes tinderbox orange.
2007-04-03 17:39:56 -07:00
dbaron@dbaron.org
32ce3f13d3
Fix deadlock in trace-malloc by exiting monitor around call to dladdr. b=363334 r=brendan
2007-04-03 15:14:01 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
dbaron%dbaron.org
dbe0dd2ba3
Expose trace-malloc stack tracing. b=422847 r=brendan a=NPOTDB
2008-03-15 00:11:37 +00:00
dbaron%dbaron.org
5caf70f58f
Fix race saving/restoring malloc hooks by going back to overriding malloc, etc., plus some additional cleanup. b=392009 r+a1.9=brendan
2007-09-28 22:39:59 +00:00
dbaron%dbaron.org
4816dadfd3
Suppress tracing around calls into original allocators, in case they recur back into our hooks. Fixes most of leak *stats* regression from bug 392009. r+a1.9=brendan
2007-09-25 20:33:37 +00:00
brendan%mozilla.org
e333083493
Reduce code duplication among platforms, support hooking and unhooking (392009, r=dbaron).
2007-09-25 01:13:17 +00:00
dbaron%dbaron.org
d0bc05ebce
Port trace-malloc to Mac OS X. b=392118 r+a=brendan
2007-08-14 16:35:46 +00:00
dbaron%dbaron.org
ff4e8b1f82
Make void signatures match header. b=391766 r+a=brendan
2007-08-11 00:53:28 +00:00
dbaron%dbaron.org
8b010ccfad
Lock around NS_TraceMallocDumpAllocations. b=391766 r+a=brendan
2007-08-11 00:53:02 +00:00
dbaron%dbaron.org
86c68d7e66
Stop using strncpy unnecessarily. b=391766 r+a=brendan
2007-08-11 00:52:35 +00:00
dbaron%dbaron.org
4764771947
Add suppression code around calls to original allocation functions to handle things like new[] calling new. b=391491 r+a=brendan
2007-08-10 22:22:07 +00:00
dbaron%dbaron.org
327dcb72df
Define the __libc_* on Windows to something that does automatic suppression, like on Linux. b=391477 r+a=brendan
2007-08-10 22:21:13 +00:00
dbaron%dbaron.org
d834a42cdd
Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
2007-08-10 22:20:49 +00:00
dbaron%dbaron.org
8276ca56e2
Start reducing the scope of locking in trace-malloc, and convert the PRMonitor to a PRLock. b=376874 r+a=brendan
2007-08-10 22:19:32 +00:00
dbaron%dbaron.org
f0e1c0f75d
Use thread-local storage for tracing suppression. b=376874 r+a=brendan
2007-08-10 22:19:14 +00:00
dbaron%dbaron.org
064c7b788d
Improve performance when trace-malloc is built but not used by adding a fast-path around the locking. b=150015 r=brendan a=bzbarsky
2007-08-10 21:24:32 +00:00
dbaron%dbaron.org
8a16cb20c6
Replace printf that fires all the time with an assertion for what I really want to check.
2007-04-04 01:35:35 +00:00
dbaron%dbaron.org
f48343ca02
The tinderbox problem was due to insufficient STARTUP_TMBUFSIZE, so re-increase the buffer size to 64K (from 16K) and comment out my debugging code.
2007-04-04 01:06:34 +00:00
dbaron%dbaron.org
8ca81935ea
Back out startup buffer size change (but leave diagnostic).
2007-04-04 00:53:26 +00:00
dbaron%dbaron.org
7460a6ad75
Try increasing startup buffer size to see if it fixes tinderbox orange.
2007-04-04 00:39:56 +00:00
dbaron%dbaron.org
999d182a3d
Fix deadlock in trace-malloc by exiting monitor around call to dladdr. b=363334 r=brendan
2007-04-03 22:14:01 +00:00
dbaron%dbaron.org
12e530fdfd
Make trace-malloc dumps not print '(nil)' instead of an address. b=331743 (fixing regression from previous patch)
2007-02-14 07:07:51 +00:00
dbaron%dbaron.org
0e055e83bd
Make trace-malloc override additional memory allocation functions. b=331742
2007-02-14 07:06:35 +00:00
dbaron%dbaron.org
7b4b202ef8
Fix relocations that need to be resolved at runtime when building with default visibility as hidden and wrapping system includes. b=358558 r=bsmedberg
2006-10-29 16:11:26 +00:00
dbaron%dbaron.org
d0aee47716
Partial 64-bit and x86_64 porting. b=331743 r=brendan
2006-03-27 07:29:32 +00:00
dbaron%dbaron.org
0647569fa9
Revert old fix for 230336 in favor of better fix elsewhere.
2006-03-25 04:16:00 +00:00
dbaron%dbaron.org
3bd90a7a87
Fix C++ comments that I introduced.
2006-03-24 08:32:09 +00:00
dbaron%dbaron.org
172a860286
Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan
2006-03-23 23:21:27 +00:00
dbaron%dbaron.org
f82adb5d8c
Use __builtin_frame_address instead of setjmp to get the frame pointer. b=323853 r=brendan
2006-03-19 01:27:17 +00:00
timeless%mozdev.org
818571f357
Bug 295159 trace-malloc build crashes in glibc initialization
...
patch by sascha@schumann.cx r=timeless sr=dbaron
2005-11-13 22:39:05 +00:00
gandalf%firefox.pl
605a07010d
Bug 288823: Trace-malloc fails to compile on windows; p=bugzilla@mcsmurf.de,r+sr=dbaron,a=brendan
2005-06-11 12:52:23 +00:00
dbaron%dbaron.org
54cdc9d607
For functions in the binary, output something compatible with addr2line. b=230336 r=brendan
2005-03-30 01:54:54 +00:00
gerv%gerv.net
2a491d3598
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-25 21:07:34 +00:00
cls%seawood.org
332976510a
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
brendan%mozilla.org
a7f5763ec4
Get my NS_TrackAllocation patch in before cls moves files.
2004-02-11 04:15:17 +00:00
alecf%flett.org
cf37cd1d01
minor updates to spacetrace:
...
- show progress while loading the events file
- show more detailed leak summary
no review, this is a debug-only tool and I'm only changing console output
2004-01-13 16:35:45 +00:00
dbaron%dbaron.org
a71802a815
Remove pc tests in stack walking code that prevent it from working on Fedora Core 1. b=227396 r=bryner
2004-01-03 19:16:31 +00:00
dbaron%dbaron.org
8c167ea60e
Be sure to call NS_TraceMallocStartup so we know (on Unix) not to waste time logging everything once we know there is no command-line argument. b=113833 r+sr=brendan
2003-06-21 00:28:05 +00:00
alecf%flett.org
85f5373977
oops, didn't mean to check that in
2003-06-18 02:14:15 +00:00
alecf%flett.org
3a90fb6cfc
oops, minor cleanup on the UI to distinguish between callsite and allocation listings for the "top" or "normal" callsites
...
again, not part of normal build
2003-06-18 02:13:46 +00:00
alecf%flett.org
fecf4aa82b
ugh, take two - remove PR_ASSERT, tabs, and extra ^M's
2003-06-04 20:53:57 +00:00