dbaron%dbaron.org
|
1644a16f2f
|
Allow diffbloatdump to read its own input back in (so that we can run fix-*-stack over its output (which is much faster than running it over a whole log) and still diff that output against different output. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@251244 18797224-902f-48f8-a5cc-f745e15eee43
|
2008-05-06 04:47:23 +00:00 |
|
dbaron%dbaron.org
|
51bbcb002e
|
Expose trace-malloc stack tracing. b=422847 r=brendan a=NPOTDB
git-svn-id: svn://10.0.0.236/trunk@247882 18797224-902f-48f8-a5cc-f745e15eee43
|
2008-03-15 00:11:37 +00:00 |
|
dbaron%dbaron.org
|
64213705b2
|
And actually get the right bug number. b=415426 (which is what the previous checkin was for as well)
git-svn-id: svn://10.0.0.236/trunk@244822 18797224-902f-48f8-a5cc-f745e15eee43
|
2008-02-03 19:59:07 +00:00 |
|
dbaron%dbaron.org
|
9f4749d3b4
|
Switch back to evil casts, which are the only solution that works across SDK version. b=415252
git-svn-id: svn://10.0.0.236/trunk@244821 18797224-902f-48f8-a5cc-f745e15eee43
|
2008-02-03 19:51:14 +00:00 |
|
dbaron%dbaron.org
|
7bbbb13aea
|
Match new (more-const) signature for PENUMLOADED_MODULES_CALLBACK and PENUMLOADED_MODULES_CALLBACK64. b=415426 Fixing bustage on Windows tinderbox from SDK upgrade.
git-svn-id: svn://10.0.0.236/trunk@244818 18797224-902f-48f8-a5cc-f745e15eee43
|
2008-02-03 19:34:31 +00:00 |
|
dbaron%dbaron.org
|
da7588ce54
|
Fix race saving/restoring malloc hooks by going back to overriding malloc, etc., plus some additional cleanup. b=392009 r+a1.9=brendan
git-svn-id: svn://10.0.0.236/trunk@236881 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-09-28 22:39:59 +00:00 |
|
dbaron%dbaron.org
|
94f24de901
|
Address brendan's review comments on bug 391141. r=brendan a=not part of release builds
git-svn-id: svn://10.0.0.236/trunk@236755 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-09-27 16:27:12 +00:00 |
|
dbaron%dbaron.org
|
b1b339d6d7
|
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
git-svn-id: svn://10.0.0.236/trunk@236675 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-09-25 20:33:37 +00:00 |
|
brendan%mozilla.org
|
337a22147a
|
Reduce code duplication among platforms, support hooking and unhooking (392009, r=dbaron).
git-svn-id: svn://10.0.0.236/trunk@236629 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-09-25 01:13:17 +00:00 |
|
jwalden%mit.edu
|
faed3c11dd
|
Bug 348748 - Remove cast macros from trace-malloc. r=bsmedberg on the script, a=NPOTDB+no-functionality-change
git-svn-id: svn://10.0.0.236/trunk@233981 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-09-05 22:14:17 +00:00 |
|
dbaron%dbaron.org
|
3f522ec15b
|
Link readers against libxul when trace-malloc is part of libxul (fixing tinderbox bustage).
git-svn-id: svn://10.0.0.236/trunk@232363 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-20 01:30:04 +00:00 |
|
dbaron%dbaron.org
|
63db1e7524
|
Revert previous checkin.
git-svn-id: svn://10.0.0.236/trunk@232361 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-20 00:59:57 +00:00 |
|
dbaron%dbaron.org
|
c80ae0035f
|
Attempt to fix trace-malloc bustage in libxul builds by removing LIBXUL_LIBRARY=1 (fixing tinderbox bustage for newly-enabled test).
git-svn-id: svn://10.0.0.236/trunk@232360 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-20 00:50:01 +00:00 |
|
dbaron%dbaron.org
|
236245a177
|
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
git-svn-id: svn://10.0.0.236/trunk@232354 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-20 00:00:40 +00:00 |
|
dbaron%dbaron.org
|
ac08a83d0d
|
Port trace-malloc to Mac OS X. b=392118 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@232045 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-14 16:35:46 +00:00 |
|
dbaron%dbaron.org
|
3a80e6f2a2
|
Don't count frees of things whose allocations weren't counted because they were before we overrode malloc, etc. b=391950 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231943 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-12 22:20:36 +00:00 |
|
dbaron%dbaron.org
|
6a28cb214e
|
Make void signatures match header. b=391766 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231882 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-11 00:53:28 +00:00 |
|
dbaron%dbaron.org
|
2335ab2dfa
|
Lock around NS_TraceMallocDumpAllocations. b=391766 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231881 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-11 00:53:02 +00:00 |
|
dbaron%dbaron.org
|
29aa7b0cfd
|
Stop using strncpy unnecessarily. b=391766 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231880 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-11 00:52:35 +00:00 |
|
dbaron%dbaron.org
|
26da747fbf
|
Add suppression code around calls to original allocation functions to handle things like new[] calling new. b=391491 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231870 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 22:22:07 +00:00 |
|
dbaron%dbaron.org
|
47905c04c9
|
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
git-svn-id: svn://10.0.0.236/trunk@231869 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 22:21:37 +00:00 |
|
dbaron%dbaron.org
|
b40323d967
|
Define the __libc_* on Windows to something that does automatic suppression, like on Linux. b=391477 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231868 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 22:21:13 +00:00 |
|
dbaron%dbaron.org
|
d9000559b5
|
Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231867 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 22:20:49 +00:00 |
|
dbaron%dbaron.org
|
e136c43f44
|
Start reducing the scope of locking in trace-malloc, and convert the PRMonitor to a PRLock. b=376874 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231866 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 22:19:32 +00:00 |
|
dbaron%dbaron.org
|
4fbbc2d9f3
|
Use thread-local storage for tracing suppression. b=376874 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231865 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 22:19:14 +00:00 |
|
dbaron%dbaron.org
|
64fb755530
|
Fix bustage on VC8. b=391141 r=brendan a=DEBUG-only
git-svn-id: svn://10.0.0.236/trunk@231855 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 21:26:03 +00:00 |
|
dbaron%dbaron.org
|
9a03bda17c
|
Improve performance when trace-malloc is built but not used by adding a fast-path around the locking. b=150015 r=brendan a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231853 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-08-10 21:24:32 +00:00 |
|
dbaron%dbaron.org
|
23c2d9146e
|
Add code to automatically uncompress .gz and .bz2 files that are given as arguments.
git-svn-id: svn://10.0.0.236/trunk@228405 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-06-20 21:59:33 +00:00 |
|
dbaron%dbaron.org
|
67edb9b293
|
Replace printf that fires all the time with an assertion for what I really want to check.
git-svn-id: svn://10.0.0.236/trunk@224119 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-04-04 01:35:35 +00:00 |
|
dbaron%dbaron.org
|
59f8b44d9f
|
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.
git-svn-id: svn://10.0.0.236/trunk@224116 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-04-04 01:06:34 +00:00 |
|
dbaron%dbaron.org
|
ef2f01ab07
|
Back out startup buffer size change (but leave diagnostic).
git-svn-id: svn://10.0.0.236/trunk@224115 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-04-04 00:53:26 +00:00 |
|
dbaron%dbaron.org
|
e61124e83c
|
Make previous change print to stderr.
git-svn-id: svn://10.0.0.236/trunk@224114 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-04-04 00:45:07 +00:00 |
|
dbaron%dbaron.org
|
7be4d8b36a
|
Try increasing startup buffer size to see if it fixes tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@224113 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-04-04 00:39:56 +00:00 |
|
dbaron%dbaron.org
|
2e4dfc98ab
|
Add some debugging code to tmreader and temporarily turn it on to debug tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@224110 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-04-03 23:46:45 +00:00 |
|
dbaron%dbaron.org
|
abd11cb32c
|
Fix deadlock in trace-malloc by exiting monitor around call to dladdr. b=363334 r=brendan
git-svn-id: svn://10.0.0.236/trunk@224106 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-04-03 22:14:01 +00:00 |
|
dbaron%dbaron.org
|
3b68325b2f
|
Make trace-malloc malloc-hooking work with compilers newer than VC6. b=374645 r=robstrong
git-svn-id: svn://10.0.0.236/trunk@222132 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-03-21 00:38:58 +00:00 |
|
dbaron%dbaron.org
|
74a90aebdb
|
Document changes from bug 113738.
git-svn-id: svn://10.0.0.236/trunk@221127 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-03-01 01:33:54 +00:00 |
|
dbaron%dbaron.org
|
810229d84e
|
Change my old email address to my new one (files missed when I did a mass-change in January 2003).
git-svn-id: svn://10.0.0.236/trunk@220109 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-02-14 07:18:26 +00:00 |
|
dbaron%dbaron.org
|
503c8f5296
|
Make trace-malloc dumps not print '(nil)' instead of an address. b=331743 (fixing regression from previous patch)
git-svn-id: svn://10.0.0.236/trunk@220108 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-02-14 07:07:51 +00:00 |
|
dbaron%dbaron.org
|
9940bb454e
|
Make trace-malloc override additional memory allocation functions. b=331742
git-svn-id: svn://10.0.0.236/trunk@220107 18797224-902f-48f8-a5cc-f745e15eee43
|
2007-02-14 07:06:35 +00:00 |
|
timeless%mozdev.org
|
c6467de559
|
Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
git-svn-id: svn://10.0.0.236/trunk@214560 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-11-01 23:02:18 +00:00 |
|
dbaron%dbaron.org
|
29874b9fed
|
Fix whitespace error introduced by my previous patch.
git-svn-id: svn://10.0.0.236/trunk@214522 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-11-01 07:22:12 +00:00 |
|
dbaron%dbaron.org
|
d23efae1c1
|
Fix relocations that need to be resolved at runtime when building with default visibility as hidden and wrapping system includes. b=358558 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@214339 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-10-29 16:11:26 +00:00 |
|
dbaron%dbaron.org
|
e486424529
|
Fix build with MSYS. b=352206 Patch from Sylvain Pasche <sylvain.pasche@gmail.com>. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@209782 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-09-11 21:30:58 +00:00 |
|
timeless%mozdev.org
|
46444dd782
|
Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-08-28 20:12:37 +00:00 |
|
benjamin%smedbergs.us
|
bdd01b6e99
|
Bug 348234 - trace-malloc utilities should use frozen linkage, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@207056 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-08-10 16:38:00 +00:00 |
|
dbaron%dbaron.org
|
58755e3e9c
|
Partial 64-bit and x86_64 porting. b=331743 r=brendan
git-svn-id: svn://10.0.0.236/trunk@193031 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-03-27 07:29:32 +00:00 |
|
dbaron%dbaron.org
|
1f8a8bbc2f
|
Revert old fix for 230336 in favor of better fix elsewhere.
git-svn-id: svn://10.0.0.236/trunk@192977 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-03-25 04:16:00 +00:00 |
|
dbaron%dbaron.org
|
c4c9b3f3da
|
Fix C++ comments that I introduced.
git-svn-id: svn://10.0.0.236/trunk@192911 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-03-24 08:32:09 +00:00 |
|
dbaron%dbaron.org
|
ee0c4c2b8e
|
Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan
git-svn-id: svn://10.0.0.236/trunk@192881 18797224-902f-48f8-a5cc-f745e15eee43
|
2006-03-23 23:21:27 +00:00 |
|