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