12 Commits

Author SHA1 Message Date
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
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
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
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
dougt%netscape.com
a2a82fab36 move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood.
git-svn-id: svn://10.0.0.236/trunk@136371 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 20:40:06 +00:00
dp%netscape.com
51a42e0f6f bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110504 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 00:24:12 +00:00
dp%netscape.com
0b3f2b23ac bug 113833 Disabling trace-malloc if required dlls are not
found. (thanks jband) r=dp, sr=jband


git-svn-id: svn://10.0.0.236/trunk@110004 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:29:24 +00:00
blythe%netscape.com
158afbdc12 Fix bug 112196
win32 symbols now work for trace-malloc
r=dbaron,sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109041 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 22:54:05 +00:00
mjudge%netscape.com
74a4aa0952 not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made
git-svn-id: svn://10.0.0.236/trunk@85046 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:07:42 +00:00