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

403 Коммитов

Автор SHA1 Сообщение Дата
dbaron@dbaron.org ce5cbcd62f Link readers against libxul when trace-malloc is part of libxul (fixing tinderbox bustage). 2007-08-19 18:30:04 -07:00
dbaron@dbaron.org 84c375636f Revert previous checkin. 2007-08-19 17:59:57 -07:00
dbaron@dbaron.org 5e0e5baefe 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
dbaron@dbaron.org d9acf0063d 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
dbaron@dbaron.org 051a23c4b6 Port trace-malloc to Mac OS X. b=392118 r+a=brendan 2007-08-14 09:35:46 -07:00
dbaron@dbaron.org 179f4c00df 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
dbaron@dbaron.org b389fc0c0c Make void signatures match header. b=391766 r+a=brendan 2007-08-10 17:53:28 -07:00
dbaron@dbaron.org 52cad5fe7e Lock around NS_TraceMallocDumpAllocations. b=391766 r+a=brendan 2007-08-10 17:53:02 -07:00
dbaron@dbaron.org f7090d52d4 Stop using strncpy unnecessarily. b=391766 r+a=brendan 2007-08-10 17:52:35 -07:00
dbaron@dbaron.org 185d0a35f7 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 e9ba17bce0 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
dbaron@dbaron.org 7937605426 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 593cd91cf8 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 def4dbe999 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 40b3eebdbb Use thread-local storage for tracing suppression. b=376874 r+a=brendan 2007-08-10 15:19:14 -07:00
dbaron@dbaron.org 57b13d7670 Fix bustage on VC8. b=391141 r=brendan a=DEBUG-only 2007-08-10 14:26:03 -07:00
dbaron@dbaron.org 8888cc609f 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 77b5aae7bd Add code to automatically uncompress .gz and .bz2 files that are given as arguments. 2007-06-20 14:59:33 -07:00
dbaron@dbaron.org 98b0c638b4 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 c3cd8006d4 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 f21d5e810c Back out startup buffer size change (but leave diagnostic). 2007-04-03 17:53:26 -07:00
dbaron@dbaron.org 049112bec5 Make previous change print to stderr. 2007-04-03 17:45:07 -07:00
dbaron@dbaron.org 731c109c0d Try increasing startup buffer size to see if it fixes tinderbox orange. 2007-04-03 17:39:56 -07:00
dbaron@dbaron.org 970f522105 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 74dbf8be3e 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 05e5d33a57 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 63511c956e 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 71bedcef11 Document changes from bug 113738. 2007-03-01 01:33:54 +00:00
dbaron%dbaron.org 83fed6e485 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 0c76c7aa5d 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 10d5ca630a Make trace-malloc override additional memory allocation functions. b=331742 2007-02-14 07:06:35 +00:00
timeless%mozdev.org 46d2b15871 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 37ae43f7f7 Fix whitespace error introduced by my previous patch. 2006-11-01 07:22:12 +00:00
dbaron%dbaron.org 42a4e1b141 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 db513ba375 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 97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
benjamin%smedbergs.us 1c1fabbeb1 Bug 348234 - trace-malloc utilities should use frozen linkage, r=dbaron 2006-08-10 16:38:00 +00:00
dbaron%dbaron.org fc5383282f Partial 64-bit and x86_64 porting. b=331743 r=brendan 2006-03-27 07:29:32 +00:00
dbaron%dbaron.org 1648e0ad3d Revert old fix for 230336 in favor of better fix elsewhere. 2006-03-25 04:16:00 +00:00
dbaron%dbaron.org d8b42e96fc Fix C++ comments that I introduced. 2006-03-24 08:32:09 +00:00
dbaron%dbaron.org ace148d610 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
dbaron%dbaron.org 4a829838f0 Use __builtin_frame_address instead of setjmp to get the frame pointer. b=323853 r=brendan 2006-03-19 01:27:17 +00:00
timeless%mozdev.org 1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
gerv%gerv.net adbec5dbff Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +00:00
timeless%mozdev.org 9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org eb9350f619 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
timeless%mozdev.org 17f5f5429f Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
timeless%mozdev.org ee7cc9c534 Bug 295159 trace-malloc build crashes in glibc initialization
patch by sascha@schumann.cx r=timeless sr=dbaron
2005-11-13 22:39:05 +00:00
dbaron%dbaron.org cde791bfac Remove CRs (whitespace change only). 2005-09-21 20:32:30 +00:00
gandalf%firefox.pl 31f502d4a6 Bug 288823: Trace-malloc fails to compile on windows; p=bugzilla@mcsmurf.de,r+sr=dbaron,a=brendan 2005-06-11 12:52:23 +00:00
dbaron%dbaron.org fc1be1fe99 Fix bustage. b=288626 2005-04-06 06:02:47 +00:00
dbaron%dbaron.org 2419559d71 For functions in the binary, output something compatible with addr2line. b=230336 r=brendan 2005-03-30 01:54:54 +00:00
bsmedberg%covad.net 79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
gerv%gerv.net cc323a7cc8 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 21:07:34 +00:00
dbaron%dbaron.org 22cc1e3eb0 Add simple trace-malloc reader to dump all allocation stacks in a trace-malloc log. 2004-02-19 19:52:59 +00:00
cls%seawood.org 486c2570e0 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
Bug #232763 r=dbaron sr=brendan
2004-02-11 07:16:11 +00:00
brendan%mozilla.org 901708e8e3 Get my NS_TrackAllocation patch in before cls moves files. 2004-02-11 04:15:17 +00:00
cls%seawood.org 1a0e9742d7 Backing out previous changes.
Missed a cplus_demangle call and it turns out that all of trace-malloc needs to be tweaked to use c++ instead of C.
Bug #232763
2004-02-10 18:55:04 +00:00
cls%seawood.org 1aae076768 Remove unneeded -liberty references.
Bug #232763
2004-02-10 17:58:21 +00:00
dbaron%dbaron.org e4a3611b34 Note out-of-component pointers. 2004-01-17 20:52:40 +00:00
alecf%flett.org 045e10a463 minor updates to spacetrace:
- show progress while loading the events file
- show more detailed leak summary
no review, this is a debug-only tool and I'm only changing console output
2004-01-13 16:35:45 +00:00
dbaron%dbaron.org b7de5d5648 Remove pc tests in stack walking code that prevent it from working on Fedora Core 1. b=227396 r=bryner 2004-01-03 19:16:31 +00:00
dbaron%dbaron.org 6931545fdc Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
dbaron%dbaron.org c58c100242 Be sure to call NS_TraceMallocStartup so we know (on Unix) not to waste time logging everything once we know there is no command-line argument. b=113833 r+sr=brendan 2003-06-21 00:28:05 +00:00
alecf%flett.org ae9176bd25 oops, didn't mean to check that in 2003-06-18 02:14:15 +00:00
alecf%flett.org 91b72b4179 oops, minor cleanup on the UI to distinguish between callsite and allocation listings for the "top" or "normal" callsites
again, not part of normal build
2003-06-18 02:13:46 +00:00
alecf%flett.org 56a32fde26 not part of build
revamp the spacetrace interface to provide scrolling tables for easier navigation of child callsites, local allocations, and more.
2003-06-18 02:02:02 +00:00
alecf%flett.org bee187bf13 minor warnings cleanup, make a htmlStartTable() method to consolidate some code
not part of the build
2003-06-17 23:01:46 +00:00
alecf%flett.org 96472ec874 reformat these files with 'indent' so that they are actually maintainable
not part of default build
2003-06-17 21:10:49 +00:00
alecf%flett.org af896e39c8 refactor some of the options page, pretty it up a bit
NOT PART OF BUILD
2003-06-05 19:56:06 +00:00
alecf%flett.org 39b6e7826f ugh, take two - remove PR_ASSERT, tabs, and extra ^M's 2003-06-04 20:53:57 +00:00
alecf%flett.org b20e0b65f2 spacetrace updates (not part of build)
- use arenas for hashtable allocation - reduces spacetrace's mem usage tremendously for large files
- code cleanup & wrapping
- UI cleanup - headers & such
- fix nsTraceMalloc to at least support long stacks, so that we don't barf if we have trouble reading the stacks
2003-06-04 20:15:10 +00:00
alecf%flett.org f6ad24ed15 slightly change the spacetrace output so people know what to DO with port 1969
this is a spacetrace-only change, not part of the build
2003-05-22 20:59:55 +00:00
alecf%netscape.com daf8e98060 more clever CSS to beautify spacetrace just a bit
(not part of build)
2003-04-21 07:26:07 +00:00
alecf%netscape.com 315db632c3 ignore generated files 2003-04-17 07:41:23 +00:00
alecf%netscape.com 9e2b812ed0 add CSS appearence support to spacetrace, as a start for making the UI a little more dynamic
(not part of build)
2003-04-17 07:36:28 +00:00
cathleen%netscape.com 525d66b9b0 fix windows trace-malloc build. this file was removed in config/os2, needed for command line utility 2003-03-06 01:32:39 +00:00
dbaron%dbaron.org ff150df12c Two typo fixes. 2003-01-18 18:37:41 +00:00
dbaron%dbaron.org aa65be1359 Some minor tweaks. b=98665 sr=waterson 2003-01-18 16:26:26 +00:00
dbaron%dbaron.org 08e7da8b22 Add memory dump reader and new tool (leaksoup) for analyzing leak graph at shutdown. b=179212 Partly reviewed by brendan. 2003-01-18 16:24:55 +00:00
dougt%netscape.com ea89f2487c Missed the tm.def file 2003-01-16 21:26:02 +00:00
dougt%netscape.com 6508e0713e 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. 2003-01-15 20:40:06 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
brendan%mozilla.org c70d301f7e Fix up comments, overlong lines, NULL in C code, slight code simplification in log_filename (r/sr=blythe/dbaron). 2002-11-13 04:40:17 +00:00
blythe%netscape.com 85a642fc74 Not part of build.
Fix compile time error.
2002-11-09 16:42:50 +00:00
blythe%netscape.com a145fac706 Not part of the build.
Work in progress on heap fragmentation reporting tool.
2002-11-06 17:10:29 +00:00
blythe%netscape.com b35e7ab8e5 Not part of any build.
Work in progress on heap fragmentation report tool.
2002-11-01 00:34:13 +00:00
blythe%netscape.com 96a0019810 Not part of any build.
Work in progress on heap fragmentation tool.
2002-10-30 13:17:15 +00:00
blythe%netscape.com 63da865489 Not part of build.
Polish the output of this trace-malloc tool with some options.
2002-10-26 19:24:22 +00:00
cathleen%netscape.com 2ec76cfe3e update spacetrace catagory rules. not part of the build 2002-10-26 00:35:08 +00:00
blythe%netscape.com f0e93aa430 Not part of build.
Fix for bug 176350, quicker trace malloc stats for performance eyeballing.
2002-10-26 00:21:42 +00:00
seawood%netscape.com 7fb7033b34 Remove generated tmreader.$(OBJ_SUFFIX) 2002-07-01 02:15:11 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
blythe%netscape.com 7a89880152 Wallet category 2002-05-16 00:46:00 +00:00
blythe%netscape.com 31e9952600 Not part of a normal build.
Sync access to images.
Update last accessed context time, so that proper evication will take place.
Rename variable to more appropriate name.
Cleanup a little more on exit.
2002-05-13 20:50:56 +00:00
blythe%netscape.com 484bb7137f Make generated graphs capable of handling multiple simultaneous access. 2002-05-13 03:02:52 +00:00
blythe%netscape.com 76f7adca0e Not part of a normal build.
Have callsite stats be on a per context basis as well.
2002-05-13 02:43:27 +00:00
blythe%netscape.com 8bdf996e1c Not part of a normal build.
Have the categories become context aware.
Each context will naturally have it's own set of category runs.
2002-05-13 01:48:30 +00:00
blythe%netscape.com 76117297f6 Not part of a normal build.
Use per request/context options in most cases now.
2002-05-13 00:01:15 +00:00
blythe%netscape.com f571747c81 Not part of normal build.
Start propogating options so that eventually can switch over to per client
instead of global structures.
2002-05-12 04:46:22 +00:00
blythe%netscape.com 22cd6c65c8 Not part of a normal build.
Context cache framework is in.
2002-05-12 04:17:56 +00:00
blythe%netscape.com d33932e756 Fix unix build warning.
Not part of normal build.
2002-05-11 01:27:34 +00:00
blythe%netscape.com 8d1c0ae1b4 Not part of a normal build.
Change it such that all options come from framework.
Basically, a very large whack in regards to processing.
2002-05-11 01:24:52 +00:00
blythe%netscape.com 1414f1f513 space trace command line parsing hooked up to new options framework. 2002-05-08 21:32:24 +00:00
blythe%netscape.com cc2859b10d Not part of normal build.
Use new options framework to initialize options.
2002-05-08 00:16:20 +00:00
blythe%netscape.com 671730413d not part of normal build.
initial retooling of common prefs for multi user access.
more in this area to come.
2002-05-07 23:39:34 +00:00
blythe%netscape.com 46c30a3660 Abstract option acquisition for reuse in per thread settings.
Have the category focus also cause cached graphs to reset.
2002-05-04 02:06:52 +00:00
blythe%netscape.com 4141a16d7e fix cvs keyword subtitution crash 2002-05-04 01:12:18 +00:00
blythe%netscape.com 565188440e Not part of normal builds.
Accept options cookie, document how request specific options are to be set.
2002-05-04 01:07:16 +00:00
cathleen%netscape.com 16e0f2f1ca export rules file into dist r=dp 2002-05-03 22:51:16 +00:00
dp%netscape.com c796599b2b Moving printNodeProcessor to new api 2002-05-03 22:33:08 +00:00
dp%netscape.com a087962d3f Necko uri folded into necko 2002-05-03 13:27:16 +00:00
blythe%netscape.com 8aead0c7ef Turn options into arrays instead of heap to allow easy copying into a per
thread/client option duplicate.
2002-05-03 00:32:23 +00:00
blythe%netscape.com 2b3abdb34f Not part of the normal build.
Fix a crash when category data led to 0 data.
2002-05-02 21:52:17 +00:00
leaf%mozilla.org ad3b8faf32 add the binary suffix to fix build bustage 2002-05-02 19:43:09 +00:00
blythe%netscape.com 3a765464e4 NOT part of a normal build.
Fix spacetrace images.
Make per request data thread/callstack specific instead of using a global.
2002-05-02 18:38:42 +00:00
blythe%netscape.com 9934065285 Not part of normal build.
Put each client request on a thread.
2002-05-02 00:28:42 +00:00
cathleen%netscape.com b256680996 Fixing to include spacecategory.c. Fix by Garrett on cathleen's tree -dp 2002-05-01 22:39:46 +00:00
dp%netscape.com a3b5fa2664 export formatNumber 2002-04-30 23:52:52 +00:00
dp%netscape.com 430295c669 printCategoryTree 2002-04-30 23:44:03 +00:00
blythe%netscape.com 3da87ff3df Not part of normal build.
Move tmreader lifetime into a global, such that when the connections become
threaded that we do not have to manage joining all threads when we'd like
to exit; leave that job to PR_Cleanup.
2002-04-30 23:43:56 +00:00
dp%netscape.com cacd86c847 Rearranged rules to get more accurate assignment 2002-04-30 23:42:32 +00:00
dp%netscape.com 2eaafb13a6 best shot at a rules file. 2002-04-22 18:15:15 +00:00
dp%netscape.com da3dad6278 Sorting in category report 2002-04-20 00:25:55 +00:00
dp%netscape.com e8edfe409c Store len of patterns for fast comparison 2002-04-20 00:14:22 +00:00
dp%netscape.com 7cce01fbf0 Using stncmp instead of strstr for callsite maching. 2002-04-19 21:51:03 +00:00
dp%netscape.com 297d88f665 commandline options for category file and focus category. 2002-04-19 21:49:55 +00:00
dp%netscape.com 9d213f1c92 Categories report 2002-04-18 20:11:45 +00:00
dp%netscape.com 34479f09c8 fastload-js -> chrome-js 2002-04-17 20:25:04 +00:00
dp%netscape.com cd6227b553 optimization: When only category changes, dont harvest; just recompute cost. 2002-04-17 01:37:14 +00:00
dp%netscape.com 1a272f9fd1 more categories 2002-04-17 01:33:16 +00:00
dp%netscape.com 865ab1e7e7 installing rules.txt in dist/bin 2002-04-17 01:03:44 +00:00
dp%netscape.com 5e28943763 shared globals 2002-04-17 00:13:59 +00:00
dp%netscape.com 20a2192d31 Fixing core dump caused by freeing static categoryname 2002-04-17 00:12:44 +00:00
dp%netscape.com 2e36ed30a4 Dealing with non-existent category file 2002-04-17 00:11:55 +00:00
dp%netscape.com 51792fa38f categories 2002-04-16 23:36:47 +00:00
blythe%netscape.com 32a093d13a fix bug 134737, gmake win32 trace-malloc gd enabled build, r=dp sr=alecf 2002-04-16 21:50:01 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
seawood%netscape.com 0df019b037 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa
2002-02-26 09:26:10 +00:00
seawood%netscape.com ccc74b9b6f Fixing win32 gmake trace-malloc bustage 2002-02-14 22:56:03 +00:00
blythe%netscape.com bab74c2793 NOT part of normal build.
Fix a small performance problem intruduced yesterday.
2002-01-24 22:41:08 +00:00
blythe%netscape.com dc28d145d4 NOT part of normal build.
Fix bug 119065
Better filtering via spacetrace footprint tool.
2002-01-24 00:58:33 +00:00
blythe%netscape.com 00c321d9fb Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf
2002-01-09 19:03:01 +00:00
dp%netscape.com 43742c7716 Adding peak memory used report r=blythe 2002-01-08 23:20:29 +00:00
blythe%netscape.com 8b152657c8 Fix bug 115191
NOT part of normal build
Correct usage of PRUint64
2001-12-28 22:27:20 +00:00
blythe%netscape.com fa199dce9d NOT part of normal build.
Correctly account for heap overhead on allocations.
By default, we now correctly calculate heap impact on win32 using msvcrt.
2001-12-26 18:56:01 +00:00
dp%netscape.com 5b519968f0 TARGET=_content for hrefs. With this we can now have the spacetrace
sidebar :-)
2001-12-20 06:48:50 +00:00
blythe%netscape.com 096bc4789f Fix bug 115281, report runtime allocation stats
NOT in normal build.
2001-12-18 01:00:36 +00:00
dp%netscape.com eb12422862 bug 113738 Cost of malloc into trace-malloc log. r=blythe, sr=brendan 2001-12-15 00:27:15 +00:00
dp%netscape.com a1fbe116ca Fixing compiler warning. 2001-12-15 00:25:03 +00:00
dp%netscape.com cb3dce038a bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan 2001-12-15 00:24:12 +00:00
blythe%netscape.com fbfee2b106 Fix bug 113958, win32 nsTraceRefcnt support.
r=dbaron, sr=brendan
2001-12-11 22:26:47 +00:00
blythe%netscape.com 1ef06c2bf5 Fix bug 114149, trace-malloc output platform specific
r=dp, sr=brendan
2001-12-11 22:21:50 +00:00
dp%netscape.com 583f4cf74a bug 113833 Disabling trace-malloc if required dlls are not
found. (thanks jband) r=dp, sr=jband
2001-12-07 14:29:24 +00:00
dp%netscape.com bc26d6a0ca bug 113833 preventing initalization of trace malloc stuff unless
--trace-malloc command line is given. sr=dveditz
2001-12-07 06:41:55 +00:00
blythe%netscape.com 046f20a06d Bug 112953, non debug trace-malloc on win32.
r=dp,sr=brendan
NOT part of normal build.
Change hinges on another change to nsprpub/gmakefile.win that should land
by those in charge of that module shortly.
2001-12-06 02:36:02 +00:00
dp%netscape.com da13b4fc43 disabling unconditional printfs. 2001-12-02 05:39:49 +00:00
blythe%netscape.com 50c3597435 NOT part of normal build.
Remove special cases involving reallocs of size 0 (improve it actually).
Avoid qsort problem on MSVC win32.
2001-11-29 18:44:15 +00:00
blythe%netscape.com 91ce494f5c NOT part of normal build.
Get spacetrace to report data in seconds instead of confusing interval.
Move weight to far most colunm, as a product.
Unhexcape strings to that C++ classes/member can be targeted.
Add the align by option, to report real heap impact.
2001-11-29 01:29:26 +00:00
blythe%netscape.com 56f3b3bbdf NOT part of normal build.
Allow gd graphics library to be specified for SpaceTrace.
2001-11-28 02:07:42 +00:00
blythe%netscape.com f7fceef68c Fix bug 112196
win32 symbols now work for trace-malloc
r=dbaron,sr=brendan
2001-11-27 22:54:05 +00:00
blythe%netscape.com ed4ccb0a55 Fix bug 110807, newlines on win32 trace-malloc tools
sr=brendan,r=dbaron
NOT in normal build
2001-11-26 21:10:45 +00:00
dbaron%fas.harvard.edu 9d6f0a2650 Allow nsTraceMalloc to build even when cplus_demangle isn't available (should fix bustage on Brad's tinderbox). Also use NS_PTR_TO_INT32 per Brendan's review comments on bug 106352. 2001-11-20 23:32:17 +00:00
dbaron%fas.harvard.edu fef035f0fc Call the root 'malloc' rather than '.root' since there's no leak root detection going on here. 2001-11-16 09:00:26 +00:00
dbaron%fas.harvard.edu 54543c9f93 Ignore the library/address part of the stack unless asked to use it. 2001-11-16 02:47:07 +00:00
blythe%netscape.com 64ec50552a NOT in normal build.
Have the tools build on windows, wether or not they work yet is another
issue.
2001-11-16 02:19:14 +00:00
blythe%netscape.com c096dbbd8b Fix bug 108103, new tool SpaceTrace
SR,RS=brendan, SR=waterson, R=dbaron
2001-11-15 22:40:53 +00:00
alecf%netscape.com ad08915dd8 better fixes to make bloatblame work on windows 2001-11-15 22:08:03 +00:00
alecf%netscape.com 01dd34e55a some changes required to get bloatblame building on windows 2001-11-15 20:29:28 +00:00
dbaron%fas.harvard.edu dbd3c84701 Oops, meant to remove that incorrect comment. 2001-11-15 07:44:59 +00:00
dbaron%fas.harvard.edu 1cde573592 New, more portable (i.e., works for me, unlike the old code) Linux nsGetTypeName using dladdr. r=jag sr=waterson b=109829 2001-11-15 07:44:26 +00:00
dbaron%fas.harvard.edu 7ea02d75a9 Oops. Backing that out. 2001-11-14 21:44:45 +00:00
dbaron%fas.harvard.edu 783a03054d Add script to diff the output of two files created by NS_TraceMallocDumpAllocations. 2001-11-14 21:42:54 +00:00
waterson%netscape.com 355f78d581 More types. Remove JS stuff so we can account for it better. 2001-11-02 05:17:28 +00:00
waterson%netscape.com 85b52ed98f More types! 2001-10-22 18:25:37 +00:00
waterson%netscape.com 9889b9ca53 Types, types! More types! 2001-10-22 00:07:26 +00:00
waterson%netscape.com eb8236af2b Add coverage and floating width. 2001-10-21 16:46:37 +00:00
waterson%netscape.com 6e59c2206a Mmm, more types. 2001-10-10 03:32:41 +00:00
waterson%netscape.com 63902a9410 More types! 2001-10-09 21:58:41 +00:00
waterson%netscape.com 548e8dc299 Update types for code drift. 2001-10-09 17:11:25 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dougt%netscape.com ca36b7718d reverting 99248. r=shaver|brendan@mozilla.org 2001-09-27 03:52:45 +00:00
dbaron%fas.harvard.edu 2d6d9601cd Fix build bustage. Not part of the default build. b=99248 2001-09-27 00:43:32 +00:00
dougt%netscape.com 65aec024ea uses strtok_r if avaliable. r=doug/cls, sr=rpotts, patch by drepper@cygnus.com. bug 99248 2001-09-25 23:31:27 +00:00
brendan%mozilla.org 3efd0e519f 1. Fix jsdhash/pldhash.[ch] so that add/remove cycles for a given k do not
create a long chain of removed sentinels.  Also, when adding k to a table
    where k is not mapped, but where k hashes to a chain that includes removed
    sentinels, recycle the first removed sentinel in the chain for k's entry.
2.  Cache cx->resolving till js_DestroyContext, to avoid high JSDHashTable
    new/destroy overhead in js_LookupProperty.
3.  Add NS_TraceStack to nsTraceMalloc.[ch] and clean the .c file up a bit.
2001-09-12 06:39:31 +00:00
dbaron%fas.harvard.edu ce012c5510 Move trace-malloc readers from mozilla/xpcom/base/ to mozilla/tools/trace-malloc/. Add a --shutdown-leaks option to nsTraceMalloc to dump, to the file given as an argument to the option, information about allocations still live at shutdown. Add a new trace-malloc reader (leakstats.c) to print leak statistics. b=84831 r=jag sr=brendan 2001-09-08 18:29:24 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
rogc%netscape.com 894f00ff0e Updated trace-malloc tools. Updated type inferences in types.dat.
Enhanced type inference logic in TraceMalloc.pm to allow substack
matching so we can have fallback types.
b=62996,r=blizzard,sr=waterson.
2001-07-20 00:59:24 +00:00
rogc%netscape.com 723563e44f Added heuristics for speculative RTTI for gnu 2.96 compilers.
b=62996,r=blizzard,sr=waterson.
2001-07-13 22:40:04 +00:00
dr%netscape.com 96d227f332 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst 2001-05-11 05:36:00 +00:00
thesteve%netscape.com 3b83745796 dded a rule to recognize <nsScanner> responsibility for an allocation. r=waterson 2001-02-16 18:17:11 +00:00
waterson%netscape.com eba65d9882 Break down string and void* data. 2001-02-13 10:24:28 +00:00
waterson%netscape.com 0991df1320 Add brendan's js regexp fu. 2001-02-08 06:45:38 +00:00
waterson%netscape.com 74091d7f2d Add support for regexps. 2001-02-08 06:45:29 +00:00
mjudge%netscape.com a79e1f9316 R,SR = waterson, kin, brendan. trace_malloc work. these changes should only be iuncorporated into the build process if someone defines MOZ_TRACE_MALLOC into their build 2001-01-25 22:54:05 +00:00
mjudge%netscape.com 6a5b25f5d5 not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made 2001-01-17 21:07:42 +00:00
mjudge%netscape.com 42cee62f00 not in build. for tracemalloc purposes only. when makefile is edited to add this as compile option There will be a reviewer of these checkins as well 2001-01-17 21:06:51 +00:00
jar%netscape.com 88c88a8462 Added call-stack-based type refinement, and made other type expansion controllable from command line 2000-12-30 05:39:24 +00:00
jar%netscape.com 3717905dc7 Added --detail option to show basis for object sweeping action 2000-12-24 05:56:41 +00:00
jar%netscape.com 3622e8d233 Moving leak-soup.pl from sibling directory ../trace-malloc-tools 2000-12-22 17:46:57 +00:00