|
|
9a778504b9
|
Expose trace-malloc stack tracing. b=422847 r=brendan a=NPOTDB
|
2008-03-14 17:11:37 -07:00 |
|
|
|
9bd0e605df
|
And actually get the right bug number. b=415426 (which is what the previous checkin was for as well)
|
2008-02-03 11:59:07 -08:00 |
|
|
|
67b3f5aa8e
|
Switch back to evil casts, which are the only solution that works across SDK version. b=415252
|
2008-02-03 11:51:14 -08:00 |
|
|
|
88957760b5
|
Match new (more-const) signature for PENUMLOADED_MODULES_CALLBACK and PENUMLOADED_MODULES_CALLBACK64. b=415426 Fixing bustage on Windows tinderbox from SDK upgrade.
|
2008-02-03 11:34:31 -08:00 |
|
|
|
ec7f25b1f6
|
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 15:39:59 -07:00 |
|
|
|
ba9d678f5e
|
Address brendan's review comments on bug 391141. r=brendan a=not part of release builds
|
2007-09-27 09:27:12 -07:00 |
|
|
|
0ee54c81c4
|
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 13:33:37 -07:00 |
|
|
|
67e7b3c69d
|
Reduce code duplication among platforms, support hooking and unhooking (392009, r=dbaron).
|
2007-09-24 18:13:17 -07:00 |
|
|
|
9a9ecbfd9f
|
Bug 348748 - Remove cast macros from trace-malloc. r=bsmedberg on the script, a=NPOTDB+no-functionality-change
|
2007-09-05 15:14:17 -07:00 |
|
|
|
86a1f03b0e
|
Link readers against libxul when trace-malloc is part of libxul (fixing tinderbox bustage).
|
2007-08-19 18:30:04 -07:00 |
|
|
|
f1ca616518
|
Revert previous checkin.
|
2007-08-19 17:59:57 -07:00 |
|
|
|
9141ca2262
|
Attempt to fix trace-malloc bustage in libxul builds by removing LIBXUL_LIBRARY=1 (fixing tinderbox bustage for newly-enabled test).
|
2007-08-19 17:50:01 -07:00 |
|
|
|
ff92897b38
|
Force linking with the C++ compiler rather than the C compiler (since we're using SIMPLECPPSRCS rather than CPPSRCS). b=392118 r=bsmedberg a=bzbarsky
|
2007-08-19 17:00:40 -07:00 |
|
|
|
a63fe68680
|
Port trace-malloc to Mac OS X. b=392118 r+a=brendan
|
2007-08-14 09:35:46 -07:00 |
|
|
|
403f64c19e
|
Don't count frees of things whose allocations weren't counted because they were before we overrode malloc, etc. b=391950 r+a=brendan
|
2007-08-12 15:20:36 -07:00 |
|
|
|
c787064ba0
|
Make void signatures match header. b=391766 r+a=brendan
|
2007-08-10 17:53:28 -07:00 |
|
|
|
96b741af7f
|
Lock around NS_TraceMallocDumpAllocations. b=391766 r+a=brendan
|
2007-08-10 17:53:02 -07:00 |
|
|
|
c419659799
|
Stop using strncpy unnecessarily. b=391766 r+a=brendan
|
2007-08-10 17:52:35 -07:00 |
|
|
|
ecec5fd6ab
|
Add suppression code around calls to original allocation functions to handle things like new[] calling new. b=391491 r+a=brendan
|
2007-08-10 15:22:07 -07:00 |
|
|
|
a2fc7d740a
|
Hook new[] and delete[] too, since (with VC8 anyway) we're picking up new[] through new, but not picking up delete[]. b=391491 r+a=brendan
|
2007-08-10 15:21:37 -07:00 |
|
|
|
fbdc0b76cb
|
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 |
|
|
|
21952d5e17
|
Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
|
2007-08-10 15:20:48 -07:00 |
|
|
|
47708ab0fa
|
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 |
|
|
|
f53e441157
|
Use thread-local storage for tracing suppression. b=376874 r+a=brendan
|
2007-08-10 15:19:14 -07:00 |
|
|
|
d63f8729dc
|
Fix bustage on VC8. b=391141 r=brendan a=DEBUG-only
|
2007-08-10 14:26:03 -07:00 |
|
|
|
ebfba2a3ed
|
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 |
|
|
|
fb0436bdb9
|
Add code to automatically uncompress .gz and .bz2 files that are given as arguments.
|
2007-06-20 14:59:33 -07:00 |
|
|
|
0d0bfc3a46
|
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 |
|
|
|
5009b4d172
|
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 |
|
|
|
231a265cb8
|
Back out startup buffer size change (but leave diagnostic).
|
2007-04-03 17:53:26 -07:00 |
|
|
|
8be8fa26d4
|
Make previous change print to stderr.
|
2007-04-03 17:45:07 -07:00 |
|
|
|
577a479f32
|
Try increasing startup buffer size to see if it fixes tinderbox orange.
|
2007-04-03 17:39:56 -07:00 |
|
|
|
82398e82f9
|
Add some debugging code to tmreader and temporarily turn it on to debug tinderbox orange.
|
2007-04-03 16:46:45 -07:00 |
|
|
|
e07b114d0a
|
Fix deadlock in trace-malloc by exiting monitor around call to dladdr. b=363334 r=brendan
|
2007-04-03 15:14:01 -07:00 |
|
hg@mozilla.com
|
2ca566cd74
|
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
|
2007-03-22 10:30:00 -07:00 |
|
dbaron@dbaron.org
|
b3bfdd2497
|
Make trace-malloc malloc-hooking work with compilers newer than VC6. b=374645 r=robstrong
|
2007-03-21 00:38:58 +00:00 |
|
dbaron@dbaron.org
|
62d7eb51b6
|
Document changes from bug 113738.
|
2007-03-01 01:33:54 +00:00 |
|
dbaron@dbaron.org
|
4ad1c23ce0
|
Change my old email address to my new one (files missed when I did a mass-change in January 2003).
|
2007-02-14 07:18:26 +00:00 |
|
dbaron@dbaron.org
|
9c24c1dfd6
|
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
|
8dbb17b8ae
|
Make trace-malloc override additional memory allocation functions. b=331742
|
2007-02-14 07:06:35 +00:00 |
|
timeless@mozdev.org
|
358db4f61b
|
Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
|
2006-11-01 23:02:18 +00:00 |
|
dbaron@dbaron.org
|
3bd26db806
|
Fix whitespace error introduced by my previous patch.
|
2006-11-01 07:22:12 +00:00 |
|
dbaron@dbaron.org
|
e71a5c8b41
|
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
|
a2e9e04184
|
Fix build with MSYS. b=352206 Patch from Sylvain Pasche <sylvain.pasche@gmail.com>. r=dbaron
|
2006-09-11 21:30:58 +00:00 |
|
timeless@mozdev.org
|
6623f2131b
|
Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
|
2006-08-28 20:12:37 +00:00 |
|
benjamin@smedbergs.us
|
06f5ceb363
|
Bug 348234 - trace-malloc utilities should use frozen linkage, r=dbaron
|
2006-08-10 16:38:00 +00:00 |
|
dbaron@dbaron.org
|
e5fa18ef75
|
Partial 64-bit and x86_64 porting. b=331743 r=brendan
|
2006-03-27 07:29:32 +00:00 |
|
dbaron@dbaron.org
|
644c6c0fe5
|
Revert old fix for 230336 in favor of better fix elsewhere.
|
2006-03-25 04:16:00 +00:00 |
|
dbaron@dbaron.org
|
23eb069efa
|
Fix C++ comments that I introduced.
|
2006-03-24 08:32:09 +00:00 |
|
dbaron@dbaron.org
|
9af7e4411b
|
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 |
|