Commit Graph

312 Commits

Author SHA1 Message Date
blythe@netscape.com
b748bb2ef1 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
e13e7e525a 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
4ca002d196 Adding peak memory used report r=blythe 2002-01-08 23:20:29 +00:00
blythe@netscape.com
f01ac519ad Fix bug 115191
NOT part of normal build
Correct usage of PRUint64
2001-12-28 22:27:20 +00:00
blythe@netscape.com
c398fbeb2d 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
d41682d64f TARGET=_content for hrefs. With this we can now have the spacetrace
sidebar :-)
2001-12-20 06:48:50 +00:00
blythe@netscape.com
96d9e56774 Fix bug 115281, report runtime allocation stats
NOT in normal build.
2001-12-18 01:00:36 +00:00
dp@netscape.com
ca825449a9 bug 113738 Cost of malloc into trace-malloc log. r=blythe, sr=brendan 2001-12-15 00:27:15 +00:00
dp@netscape.com
94b522332e Fixing compiler warning. 2001-12-15 00:25:03 +00:00
dp@netscape.com
97ae98bb5e bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan 2001-12-15 00:24:12 +00:00
blythe@netscape.com
c7fce0d8d7 Fix bug 113958, win32 nsTraceRefcnt support.
r=dbaron, sr=brendan
2001-12-11 22:26:47 +00:00
blythe@netscape.com
a731bbb7d9 Fix bug 114149, trace-malloc output platform specific
r=dp, sr=brendan
2001-12-11 22:21:50 +00:00
dp@netscape.com
ae1d79b475 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
4450099865 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
8e3329bddf 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
69879cec88 disabling unconditional printfs. 2001-12-02 05:39:49 +00:00
blythe@netscape.com
80d0f32880 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
a5853d8569 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
73c31f2718 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
e0bf586c38 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
02fdffac1b 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
320a5d7f16 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
fabb563822 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
c7edb8d808 Ignore the library/address part of the stack unless asked to use it. 2001-11-16 02:47:07 +00:00
blythe@netscape.com
46f05a283f 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
5e2ead4585 Fix bug 108103, new tool SpaceTrace
SR,RS=brendan, SR=waterson, R=dbaron
2001-11-15 22:40:53 +00:00
alecf@netscape.com
c032e61770 better fixes to make bloatblame work on windows 2001-11-15 22:08:03 +00:00
alecf@netscape.com
e7973ac507 some changes required to get bloatblame building on windows 2001-11-15 20:29:28 +00:00
dbaron@fas.harvard.edu
7afac18e03 Oops, meant to remove that incorrect comment. 2001-11-15 07:44:59 +00:00
dbaron@fas.harvard.edu
1af8921037 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
ea912767eb Oops. Backing that out. 2001-11-14 21:44:45 +00:00
dbaron@fas.harvard.edu
0a105a8006 Add script to diff the output of two files created by NS_TraceMallocDumpAllocations. 2001-11-14 21:42:54 +00:00
waterson@netscape.com
a9d702aa26 More types. Remove JS stuff so we can account for it better. 2001-11-02 05:17:28 +00:00
waterson@netscape.com
e97e4986d8 More types! 2001-10-22 18:25:37 +00:00
waterson@netscape.com
188e084fdf Types, types! More types! 2001-10-22 00:07:26 +00:00
waterson@netscape.com
46e7e02200 Add coverage and floating width. 2001-10-21 16:46:37 +00:00
waterson@netscape.com
bc309810b7 Mmm, more types. 2001-10-10 03:32:41 +00:00
waterson@netscape.com
11f4b4afd2 More types! 2001-10-09 21:58:41 +00:00
waterson@netscape.com
4cc09b1e91 Update types for code drift. 2001-10-09 17:11:25 +00:00
gerv@gerv.net
58d409fba9 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
df458b8d95 reverting 99248. r=shaver|brendan@mozilla.org 2001-09-27 03:52:45 +00:00
dbaron@fas.harvard.edu
9d71cd5360 Fix build bustage. Not part of the default build. b=99248 2001-09-27 00:43:32 +00:00
dougt@netscape.com
7a8020e510 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
09c8be75a1 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
de212948e5 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
1ba814d7b6 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
rogc@netscape.com
113b716f5a 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
0b22cd2a63 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
2eb43d38ff fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst 2001-05-11 05:36:00 +00:00
thesteve@netscape.com
bee02e5937 dded a rule to recognize <nsScanner> responsibility for an allocation. r=waterson 2001-02-16 18:17:11 +00:00