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
waterson%netscape.com
026685a3b2
More rules.
...
git-svn-id: svn://10.0.0.236/trunk@83125 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:47:52 +00:00
waterson%netscape.com
6b2eb5bb38
Don't keep around objects: let callers do that.
...
git-svn-id: svn://10.0.0.236/trunk@83123 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:08:47 +00:00
waterson%netscape.com
095508a120
Oops, remove one 'bamboozler' that isn't globally exported, except in my build.
...
git-svn-id: svn://10.0.0.236/trunk@83060 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:18:03 +00:00
waterson%netscape.com
a27c8695cc
Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband
...
git-svn-id: svn://10.0.0.236/trunk@83059 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:16:53 +00:00
waterson%netscape.com
842b58304c
First checked in.
...
git-svn-id: svn://10.0.0.236/trunk@82922 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:07:30 +00:00
brendan%mozilla.org
6a865d1089
Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@82854 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 08:05:05 +00:00
kandrot%netscape.com
9dd0f8857b
Initial check in of a tool to calc deltas of bloat snap shots.
...
git-svn-id: svn://10.0.0.236/trunk@82221 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 06:45:26 +00:00
waterson%netscape.com
8623e460c6
First checked in.
...
git-svn-id: svn://10.0.0.236/trunk@77518 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:16:58 +00:00
waterson%netscape.com
ecdede3c42
First checked in.
...
git-svn-id: svn://10.0.0.236/trunk@77498 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:26:46 +00:00
brendan%mozilla.org
c7bf3b3515
Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis.
...
git-svn-id: svn://10.0.0.236/trunk@77437 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:52:13 +00:00
brendan%mozilla.org
3dfa5856af
Add captioned timestamp events, for JS storyboarding (not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@75850 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:41:58 +00:00
brendan%mozilla.org
b54049c74b
Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch].
...
git-svn-id: svn://10.0.0.236/trunk@74793 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 02:19:27 +00:00
brendan%mozilla.org
2d47b3e145
- Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'.
...
- Use uint32 for all quantities, and double for all differences, so that we can overflow without breaking deltas such as (busy == allocs - frees). This doesn't help sorting, however: if one of the sort keys has overflowed past 0 just a bit, while the other is a very large unsigned number, beware.
- Separate graph link (half an edge, structurally speaking -- no per-edge stats) from graph edge, so that an edge is two links and some stats. This avoids bloat and copying in connect_nodes (which is soon to become generic and move to tmreader.[ch]).
- Factor data structures better: we now have {allocs,frees} x {bytes,calls} x {direct, total}, declaring the second set as struct tmallcounts and the third as tmcounts. So, for example, total number of calls to allocators would be allocs.calls.total; bytes freed directly by a graphnode (library, component, or method) would be frees.bytes.direct.
- Teach tmreader_eventloop about 'F' (TM_EVENT_FREE) events: it now updates the direct free byte and call counts for a method, its component, and its library when it reads the event. Of course, bloatblame ignores this info, because it is concerned only with bloat (total memory allocated).
- Right-align numbers in the first (trace-malloc stats) table.
git-svn-id: svn://10.0.0.236/trunk@74785 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:24:08 +00:00
brendan%mozilla.org
a85c8874b5
Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@74595 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 20:42:15 +00:00
brendan%mozilla.org
20112d6fb4
Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC).
...
git-svn-id: svn://10.0.0.236/trunk@74010 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:10:52 +00:00
warren%netscape.com
5bdd73acae
Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@73996 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:28:14 +00:00
brendan%mozilla.org
523a153c14
First cut at reusable trace-malloc logfile reader, factored from bloatblame.
...
git-svn-id: svn://10.0.0.236/trunk@73894 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 08:53:46 +00:00
brendan%mozilla.org
f912d63a39
Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support.
...
git-svn-id: svn://10.0.0.236/trunk@73395 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:42:29 +00:00
brendan%mozilla.org
b2b5554261
Work around unsolved bug reported by rusty.lynch@intel.com.
...
git-svn-id: svn://10.0.0.236/trunk@73391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:22:29 +00:00
brendan%mozilla.org
ad1e1644ba
Hoist loop invariant.
...
git-svn-id: svn://10.0.0.236/trunk@72780 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:34 +00:00
brendan%mozilla.org
fd75093332
Comment fixes.
...
git-svn-id: svn://10.0.0.236/trunk@72779 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:01 +00:00
brendan%mozilla.org
3d43822a6a
Fix skip-one-frame-too-many backtrace lossage; update TODO.
...
git-svn-id: svn://10.0.0.236/trunk@72776 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 17:59:30 +00:00
brendan%mozilla.org
1014164f2d
Sacred 80th column preservation, brendan-style case indentation (not part of default build).
...
git-svn-id: svn://10.0.0.236/trunk@71722 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 19:14:10 +00:00
waterson%netscape.com
9f5ea2ae18
Make more portable.
...
git-svn-id: svn://10.0.0.236/trunk@71234 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:23:19 +00:00
waterson%netscape.com
5cc4533d98
Add NS_TraceMallocStartupArgs() so it's easier to factor between apprunner and other apps. Like viewer. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@71227 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:09:25 +00:00