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

204 Коммитов

Автор SHA1 Сообщение Дата
blythe%netscape.com 310b3517ea 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 f6011fdd3e Not part of a normal build.
Context cache framework is in.
2002-05-12 04:17:56 +00:00
blythe%netscape.com f912a6272d Fix unix build warning.
Not part of normal build.
2002-05-11 01:27:34 +00:00
blythe%netscape.com b8c567b4d7 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 fab0832271 space trace command line parsing hooked up to new options framework. 2002-05-08 21:32:24 +00:00
blythe%netscape.com add8b84d62 Not part of normal build.
Use new options framework to initialize options.
2002-05-08 00:16:20 +00:00
blythe%netscape.com 7057da38c6 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 6b08e541c2 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 a19cb12cdb fix cvs keyword subtitution crash 2002-05-04 01:12:18 +00:00
blythe%netscape.com dfcf7f1590 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 c40da5df5d export rules file into dist r=dp 2002-05-03 22:51:16 +00:00
dp%netscape.com 0ed24101a8 Moving printNodeProcessor to new api 2002-05-03 22:33:08 +00:00
dp%netscape.com 5c85e0263b Necko uri folded into necko 2002-05-03 13:27:16 +00:00
blythe%netscape.com 2c6f9105ba 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 9040c90363 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 eec68fa596 add the binary suffix to fix build bustage 2002-05-02 19:43:09 +00:00
blythe%netscape.com 6bba65b07a 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 2dda405356 Not part of normal build.
Put each client request on a thread.
2002-05-02 00:28:42 +00:00
cathleen%netscape.com 91999f441b Fixing to include spacecategory.c. Fix by Garrett on cathleen's tree -dp 2002-05-01 22:39:46 +00:00
dp%netscape.com e63a43f20b export formatNumber 2002-04-30 23:52:52 +00:00
dp%netscape.com 295e818ff6 printCategoryTree 2002-04-30 23:44:03 +00:00
blythe%netscape.com ee0756b46e 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 9742506fce Rearranged rules to get more accurate assignment 2002-04-30 23:42:32 +00:00
dp%netscape.com 57b11ad567 best shot at a rules file. 2002-04-22 18:15:15 +00:00
dp%netscape.com 3674b51e05 Sorting in category report 2002-04-20 00:25:55 +00:00
dp%netscape.com 0625c66f3a Store len of patterns for fast comparison 2002-04-20 00:14:22 +00:00
dp%netscape.com f132125446 Using stncmp instead of strstr for callsite maching. 2002-04-19 21:51:03 +00:00
dp%netscape.com e7afdc3608 commandline options for category file and focus category. 2002-04-19 21:49:55 +00:00
dp%netscape.com 768176de29 Categories report 2002-04-18 20:11:45 +00:00
dp%netscape.com 1fb0b837a7 fastload-js -> chrome-js 2002-04-17 20:25:04 +00:00
dp%netscape.com 3f2ad6efea optimization: When only category changes, dont harvest; just recompute cost. 2002-04-17 01:37:14 +00:00
dp%netscape.com 84d21fb1ce more categories 2002-04-17 01:33:16 +00:00
dp%netscape.com 03f77a26b6 installing rules.txt in dist/bin 2002-04-17 01:03:44 +00:00
dp%netscape.com ac90e56b2e shared globals 2002-04-17 00:13:59 +00:00
dp%netscape.com 11b620246d Fixing core dump caused by freeing static categoryname 2002-04-17 00:12:44 +00:00
dp%netscape.com a22d16d928 Dealing with non-existent category file 2002-04-17 00:11:55 +00:00
dp%netscape.com 35e64057fe categories 2002-04-16 23:36:47 +00:00
blythe%netscape.com 7cc8b18b08 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 fc883176bf Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
seawood%netscape.com c187055918 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 d3106e17bd Fixing win32 gmake trace-malloc bustage 2002-02-14 22:56:03 +00:00
blythe%netscape.com 3ceb179639 NOT part of normal build.
Fix a small performance problem intruduced yesterday.
2002-01-24 22:41:08 +00:00
blythe%netscape.com 889a5c001f 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 385178fec6 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 a6ea2b18cb Adding peak memory used report r=blythe 2002-01-08 23:20:29 +00:00
blythe%netscape.com 292209737d Fix bug 115191
NOT part of normal build
Correct usage of PRUint64
2001-12-28 22:27:20 +00:00
blythe%netscape.com 1bc770ab0d 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 b7b32f09ef TARGET=_content for hrefs. With this we can now have the spacetrace
sidebar :-)
2001-12-20 06:48:50 +00:00
blythe%netscape.com 0e9efbea2d Fix bug 115281, report runtime allocation stats
NOT in normal build.
2001-12-18 01:00:36 +00:00
dp%netscape.com 8fd8cb15ca bug 113738 Cost of malloc into trace-malloc log. r=blythe, sr=brendan 2001-12-15 00:27:15 +00:00
dp%netscape.com a6d576842a Fixing compiler warning. 2001-12-15 00:25:03 +00:00
dp%netscape.com 840af220ed bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan 2001-12-15 00:24:12 +00:00
blythe%netscape.com c180764cf8 Fix bug 113958, win32 nsTraceRefcnt support.
r=dbaron, sr=brendan
2001-12-11 22:26:47 +00:00
blythe%netscape.com 6053050030 Fix bug 114149, trace-malloc output platform specific
r=dp, sr=brendan
2001-12-11 22:21:50 +00:00
dp%netscape.com ba0136d403 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 7316b88c24 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 51e311e86f 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 3a21f36867 disabling unconditional printfs. 2001-12-02 05:39:49 +00:00
blythe%netscape.com 20e0ab9a79 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 f855234ace 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 94329a0226 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 e916dcd71f 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 4d6ff15219 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 9872d11fea 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 a00d28a56f 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 36d5421360 Ignore the library/address part of the stack unless asked to use it. 2001-11-16 02:47:07 +00:00
blythe%netscape.com 02b77d697e 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 693a406cb1 Fix bug 108103, new tool SpaceTrace
SR,RS=brendan, SR=waterson, R=dbaron
2001-11-15 22:40:53 +00:00
alecf%netscape.com 32e65130fd better fixes to make bloatblame work on windows 2001-11-15 22:08:03 +00:00
alecf%netscape.com 71f3b85865 some changes required to get bloatblame building on windows 2001-11-15 20:29:28 +00:00
dbaron%fas.harvard.edu f82e4f24f8 Oops, meant to remove that incorrect comment. 2001-11-15 07:44:59 +00:00
dbaron%fas.harvard.edu 5e93155c7e 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 80411d645f Oops. Backing that out. 2001-11-14 21:44:45 +00:00
dbaron%fas.harvard.edu 749d0950a0 Add script to diff the output of two files created by NS_TraceMallocDumpAllocations. 2001-11-14 21:42:54 +00:00
waterson%netscape.com f5af6a6d9e More types. Remove JS stuff so we can account for it better. 2001-11-02 05:17:28 +00:00
waterson%netscape.com ffd047defa More types! 2001-10-22 18:25:37 +00:00
waterson%netscape.com 47090066c3 Types, types! More types! 2001-10-22 00:07:26 +00:00
waterson%netscape.com 6c85a5b141 Add coverage and floating width. 2001-10-21 16:46:37 +00:00
waterson%netscape.com 9689115dcc Mmm, more types. 2001-10-10 03:32:41 +00:00
waterson%netscape.com bed3411465 More types! 2001-10-09 21:58:41 +00:00
waterson%netscape.com 98320cf036 Update types for code drift. 2001-10-09 17:11:25 +00:00
gerv%gerv.net f385eb981a 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 5935143361 reverting 99248. r=shaver|brendan@mozilla.org 2001-09-27 03:52:45 +00:00
dbaron%fas.harvard.edu 3316d8ff52 Fix build bustage. Not part of the default build. b=99248 2001-09-27 00:43:32 +00:00
dougt%netscape.com d367501b1d 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 567e35c2fc 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 03b8e91855 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 8c7c819206 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
rogc%netscape.com 4ea7fa96e0 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 ce47970433 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 da269460c0 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst 2001-05-11 05:36:00 +00:00
thesteve%netscape.com 34b78eabbd dded a rule to recognize <nsScanner> responsibility for an allocation. r=waterson 2001-02-16 18:17:11 +00:00
waterson%netscape.com cc68304a31 Break down string and void* data. 2001-02-13 10:24:28 +00:00
waterson%netscape.com d9a3237984 Add brendan's js regexp fu. 2001-02-08 06:45:38 +00:00
waterson%netscape.com d73182c49c Add support for regexps. 2001-02-08 06:45:29 +00:00
mjudge%netscape.com e5dbae6f52 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 9fdc083176 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 3e21ae3574 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 1d6f70bd7e 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 dd284f6e1b Added --detail option to show basis for object sweeping action 2000-12-24 05:56:41 +00:00