90 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
5f96f091fa Call the root 'malloc' rather than '.root' since there's no leak root detection going on here.
git-svn-id: svn://10.0.0.236/trunk@108288 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 09:00:26 +00:00
dbaron%fas.harvard.edu
d75cd553c0 Ignore the library/address part of the stack unless asked to use it.
git-svn-id: svn://10.0.0.236/trunk@108252 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:47:07 +00:00
blythe%netscape.com
6d460e3f06 NOT in normal build.
Have the tools build on windows, wether or not they work yet is another
issue.


git-svn-id: svn://10.0.0.236/trunk@108242 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:19:14 +00:00
blythe%netscape.com
44e5d93d15 Fix bug 108103, new tool SpaceTrace
SR,RS=brendan, SR=waterson, R=dbaron


git-svn-id: svn://10.0.0.236/trunk@108196 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 22:40:53 +00:00
alecf%netscape.com
d348a4e9ab better fixes to make bloatblame work on windows
git-svn-id: svn://10.0.0.236/trunk@108193 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 22:08:03 +00:00
alecf%netscape.com
10dba00731 some changes required to get bloatblame building on windows
git-svn-id: svn://10.0.0.236/trunk@108185 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 20:29:28 +00:00
dbaron%fas.harvard.edu
f11ce5ca4c Oops, meant to remove that incorrect comment.
git-svn-id: svn://10.0.0.236/trunk@108162 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:44:59 +00:00
dbaron%fas.harvard.edu
c4d6c73aeb New, more portable (i.e., works for me, unlike the old code) Linux nsGetTypeName using dladdr. r=jag sr=waterson b=109829
git-svn-id: svn://10.0.0.236/trunk@108161 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:44:26 +00:00
dbaron%fas.harvard.edu
4c020bcc00 Oops. Backing that out.
git-svn-id: svn://10.0.0.236/trunk@108085 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 21:44:45 +00:00
dbaron%fas.harvard.edu
9677901489 Add script to diff the output of two files created by NS_TraceMallocDumpAllocations.
git-svn-id: svn://10.0.0.236/trunk@108083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 21:42:54 +00:00
waterson%netscape.com
15276fbb6a More types. Remove JS stuff so we can account for it better.
git-svn-id: svn://10.0.0.236/trunk@107070 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 05:17:28 +00:00
waterson%netscape.com
bf277e8274 More types!
git-svn-id: svn://10.0.0.236/trunk@105951 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 18:25:37 +00:00
waterson%netscape.com
8241b8d2c9 Types, types! More types!
git-svn-id: svn://10.0.0.236/trunk@105907 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 00:07:26 +00:00
waterson%netscape.com
734c20f22b Add coverage and floating width.
git-svn-id: svn://10.0.0.236/trunk@105902 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 16:46:37 +00:00
waterson%netscape.com
3edd4d2cf9 Mmm, more types.
git-svn-id: svn://10.0.0.236/trunk@104999 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 03:32:41 +00:00
waterson%netscape.com
dead4960c4 More types!
git-svn-id: svn://10.0.0.236/trunk@104947 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:58:41 +00:00
waterson%netscape.com
51affc4cd6 Update types for code drift.
git-svn-id: svn://10.0.0.236/trunk@104918 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 17:11:25 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dougt%netscape.com
3ae73a07eb reverting 99248. r=shaver|brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@103921 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:52:45 +00:00
dbaron%fas.harvard.edu
830d253373 Fix build bustage. Not part of the default build. b=99248
git-svn-id: svn://10.0.0.236/trunk@103905 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:43:32 +00:00
dougt%netscape.com
15aec61064 uses strtok_r if avaliable. r=doug/cls, sr=rpotts, patch by drepper@cygnus.com. bug 99248
git-svn-id: svn://10.0.0.236/trunk@103764 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:27 +00:00
brendan%mozilla.org
9457b2de04 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.


git-svn-id: svn://10.0.0.236/trunk@102796 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:39:31 +00:00
dbaron%fas.harvard.edu
0998d9523b 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
git-svn-id: svn://10.0.0.236/trunk@102590 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 18:29:24 +00:00
brendan%mozilla.org
f5bc62edea FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
rogc%netscape.com
c3443641e4 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.


git-svn-id: svn://10.0.0.236/trunk@99622 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 00:59:24 +00:00
rogc%netscape.com
93534daba2 Added heuristics for speculative RTTI for gnu 2.96 compilers.
b=62996,r=blizzard,sr=waterson.


git-svn-id: svn://10.0.0.236/trunk@99226 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 22:40:04 +00:00
dr%netscape.com
ce76fb13c3 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94585 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 05:36:00 +00:00
thesteve%netscape.com
8cc637ecb8 dded a rule to recognize <nsScanner> responsibility for an allocation. r=waterson
git-svn-id: svn://10.0.0.236/trunk@87215 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 18:17:11 +00:00
waterson%netscape.com
a0e81491ad Break down string and void* data.
git-svn-id: svn://10.0.0.236/trunk@86914 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 10:24:28 +00:00
waterson%netscape.com
9d6b9b8323 Add brendan's js regexp fu.
git-svn-id: svn://10.0.0.236/trunk@86609 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:45:38 +00:00
waterson%netscape.com
d1ebacb2bd Add support for regexps.
git-svn-id: svn://10.0.0.236/trunk@86608 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:45:29 +00:00
mjudge%netscape.com
9e59d3ceb3 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
git-svn-id: svn://10.0.0.236/trunk@85527 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:54:05 +00:00
mjudge%netscape.com
74a4aa0952 not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made
git-svn-id: svn://10.0.0.236/trunk@85046 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:07:42 +00:00
mjudge%netscape.com
ba0ab16e42 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
git-svn-id: svn://10.0.0.236/trunk@85045 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:06:51 +00:00
jar%netscape.com
d246243edc Added call-stack-based type refinement, and made other type expansion controllable from command line
git-svn-id: svn://10.0.0.236/trunk@84218 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 05:39:24 +00:00
jar%netscape.com
e48839ae48 Added --detail option to show basis for object sweeping action
git-svn-id: svn://10.0.0.236/trunk@84056 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 05:56:41 +00:00
jar%netscape.com
30ee2180d7 Moving leak-soup.pl from sibling directory ../trace-malloc-tools
git-svn-id: svn://10.0.0.236/trunk@83997 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:46:57 +00:00
brendan%mozilla.org
ab1ee3d23b Must hold tmmon around all suppress_tracing uses as well as defs (r=waterson, not part of build).
git-svn-id: svn://10.0.0.236/trunk@83972 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:32:39 +00:00
waterson%netscape.com
b0bef5d299 Dump to 'allocations.log' in current process directory instead.
git-svn-id: svn://10.0.0.236/trunk@83871 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 23:40:54 +00:00
waterson%netscape.com
421fc771a4 Improve rules attributing data to 'PresShell'.
git-svn-id: svn://10.0.0.236/trunk@83803 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 22:22:02 +00:00
waterson%netscape.com
dc10e82933 First checked in.
git-svn-id: svn://10.0.0.236/trunk@83738 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 22:41:21 +00:00
waterson%netscape.com
2395bb8d80 Latest type data hackery.
git-svn-id: svn://10.0.0.236/trunk@83736 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 21:59:10 +00:00
waterson%netscape.com
7a95d704c6 More imagelib foo.
git-svn-id: svn://10.0.0.236/trunk@83572 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 00:42:35 +00:00
waterson%netscape.com
4d8983b2e5 Add pretty print for one histogram file.
git-svn-id: svn://10.0.0.236/trunk@83571 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 00:42:29 +00:00
brendan%mozilla.org
a2555ca0ab Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD).
git-svn-id: svn://10.0.0.236/trunk@83529 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 05:48:16 +00:00
waterson%netscape.com
429663f092 Add param for specifying how many rows you want in the output.
git-svn-id: svn://10.0.0.236/trunk@83515 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:56:01 +00:00
waterson%netscape.com
de70274b8d Improve imagelib heuristics.
git-svn-id: svn://10.0.0.236/trunk@83513 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:52:06 +00:00
waterson%netscape.com
9d01794504 First checked in.
git-svn-id: svn://10.0.0.236/trunk@83422 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:24:23 +00:00
waterson%netscape.com
e99855939c Mmm, more rules.
git-svn-id: svn://10.0.0.236/trunk@83410 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 20:31:31 +00:00
waterson%netscape.com
93ab5c3017 Bug 61571. Improve speculative RTTI heuristics by adding one more instruction to the signature for typeinfo(). r=brendan, sr=beard
git-svn-id: svn://10.0.0.236/trunk@83293 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 00:05:45 +00:00