Граф коммитов

270 Коммитов

Автор SHA1 Сообщение Дата
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 e215025e38 Make previous change print to stderr. 2007-04-03 17:45:07 -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 77e2368001 Add some debugging code to tmreader and temporarily turn it on to debug tinderbox orange. 2007-04-03 16:46:45 -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 99b2a4b57d 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. 2008-05-06 04:47:23 +00: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 b9801a94d3 And actually get the right bug number. b=415426 (which is what the previous checkin was for as well) 2008-02-03 19:59:07 +00:00
dbaron%dbaron.org c6cda8ec8f Switch back to evil casts, which are the only solution that works across SDK version. b=415252 2008-02-03 19:51:14 +00:00
dbaron%dbaron.org ccf2c076e8 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 19:34:31 +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 0528a7c21f Address brendan's review comments on bug 391141. r=brendan a=not part of release builds 2007-09-27 16:27:12 +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
jwalden%mit.edu f23950d0c5 Bug 348748 - Remove cast macros from trace-malloc. r=bsmedberg on the script, a=NPOTDB+no-functionality-change 2007-09-05 22:14:17 +00:00
dbaron%dbaron.org b9ef6f734a Link readers against libxul when trace-malloc is part of libxul (fixing tinderbox bustage). 2007-08-20 01:30:04 +00:00
dbaron%dbaron.org a358dde24c Revert previous checkin. 2007-08-20 00:59:57 +00:00
dbaron%dbaron.org b75833008f Attempt to fix trace-malloc bustage in libxul builds by removing LIBXUL_LIBRARY=1 (fixing tinderbox bustage for newly-enabled test). 2007-08-20 00:50:01 +00:00
dbaron%dbaron.org 983df6a182 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-20 00:00:40 +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 ce60d38f6d 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 22:20:36 +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 a5ba3b4162 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 22:21:37 +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 3db03dc8d8 Fix bustage on VC8. b=391141 r=brendan a=DEBUG-only 2007-08-10 21:26:03 +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 5f6947eb49 Add code to automatically uncompress .gz and .bz2 files that are given as arguments. 2007-06-20 21:59:33 +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 a734698976 Make previous change print to stderr. 2007-04-04 00:45:07 +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 e22c6b0d66 Add some debugging code to tmreader and temporarily turn it on to debug tinderbox orange. 2007-04-03 23:46:45 +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 d5aea7d1d1 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 b404440a4e Document changes from bug 113738. 2007-03-01 01:33:54 +00:00
dbaron%dbaron.org a40b385248 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 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
timeless%mozdev.org 24a61f105a 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 12192625ce Fix whitespace error introduced by my previous patch. 2006-11-01 07:22:12 +00:00