L. David Baron
|
228ef7bfc2
|
Make trace-malloc malloc hooks work with 64-bit Mac OS X by adjusting types. (Bug 558097, maybe)
|
2010-04-08 17:21:03 -07:00 |
|
Chris Jones
|
2050fcae22
|
Bug 529134: Initialize tracemalloc in NS_LogInit() to ensure that tracemalloc is always thread safe. r=bsmedberg r=dbaron
|
2009-12-29 16:45:59 -06:00 |
|
L. David Baron
|
f69c0d0ad5
|
Don't rely on NS_TraceMallocStartupArgs to initialize TLS index. (Bug 442192) r=brendan
|
2009-03-11 07:51:30 -07:00 |
|
Ben Turner
|
ba731dee87
|
Bustage fix for bug 478195.
|
2009-02-17 21:51:50 -08:00 |
|
Robert O'Callahan
|
9d8186e0e0
|
Bug 478195 - '[Mac] Same-thread deadlock with trace-malloc (causing random red on OS X 10.5.2 mozilla-central leak test build)'. r=dbaron.
|
2009-02-17 21:11:29 -08:00 |
|
Arpad Borsos
|
8b11d938d2
|
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
|
2008-10-10 17:04:34 +02:00 |
|
L. David Baron
|
5ff950ec54
|
Fix broken --shutdown-leaks argument handling on Windows by copying the argument out of argv rather than holding a pointer to it. b=433708 r=pavlov
|
2008-05-14 11:57:32 -07:00 |
|
dbaron@dbaron.org
|
84ec4d87d0
|
Expose trace-malloc stack tracing. b=422847 r=brendan a=NPOTDB
|
2008-03-14 17:11:37 -07:00 |
|
dbaron@dbaron.org
|
761ae96f72
|
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 |
|
dbaron@dbaron.org
|
3ceebe55ad
|
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 |
|
brendan@mozilla.org
|
5796722d5b
|
Reduce code duplication among platforms, support hooking and unhooking (392009, r=dbaron).
|
2007-09-24 18:13:17 -07:00 |
|
dbaron@dbaron.org
|
881a6d3689
|
Port trace-malloc to Mac OS X. b=392118 r+a=brendan
|
2007-08-14 09:35:46 -07:00 |
|
dbaron@dbaron.org
|
bcfba5e648
|
Make void signatures match header. b=391766 r+a=brendan
|
2007-08-10 17:53:28 -07:00 |
|
dbaron@dbaron.org
|
a991022e1d
|
Lock around NS_TraceMallocDumpAllocations. b=391766 r+a=brendan
|
2007-08-10 17:53:02 -07:00 |
|
dbaron@dbaron.org
|
37da47df11
|
Stop using strncpy unnecessarily. b=391766 r+a=brendan
|
2007-08-10 17:52:35 -07:00 |
|
dbaron@dbaron.org
|
83b6e937d9
|
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 |
|
dbaron@dbaron.org
|
9ea1648f72
|
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
|
9afc343b9e
|
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
|
3e7b4a367c
|
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
|
f15bcfa55a
|
Use thread-local storage for tracing suppression. b=376874 r+a=brendan
|
2007-08-10 15:19:14 -07:00 |
|
dbaron@dbaron.org
|
ee01e951f8
|
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
|
d58a422120
|
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
|
181b2fd18f
|
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
|
10500e0071
|
Back out startup buffer size change (but leave diagnostic).
|
2007-04-03 17:53:26 -07:00 |
|
dbaron@dbaron.org
|
c1fb6c0847
|
Try increasing startup buffer size to see if it fixes tinderbox orange.
|
2007-04-03 17:39:56 -07:00 |
|
dbaron@dbaron.org
|
01afaaf3b3
|
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
|
465265d0d4
|
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 |
|