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
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
brendan%mozilla.org
efc9a81994
Must hold tmmon around all suppress_tracing uses as well as defs (r=waterson, not part of build).
2000-12-22 01:32:39 +00:00
brendan%mozilla.org
3edfe573ec
Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD).
2000-12-12 05:48:16 +00:00
waterson%netscape.com
1c7febd7de
Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband
2000-11-29 21:16:53 +00:00
brendan%mozilla.org
4c89c9e0d6
Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
2000-11-22 08:05:05 +00:00
brendan%mozilla.org
907eccf8e7
Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis.
2000-08-29 01:52:13 +00:00
brendan%mozilla.org
e32f933de0
Add captioned timestamp events, for JS storyboarding (not part of build).
2000-08-09 02:41:58 +00:00
brendan%mozilla.org
0dcd470d51
Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
2000-07-21 20:42:15 +00:00
brendan%mozilla.org
ebfa0c8b8f
Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC).
2000-07-11 19:10:52 +00:00
warren%netscape.com
3aea701549
Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron
2000-07-11 07:28:14 +00:00
brendan%mozilla.org
9096d0d767
Work around unsolved bug reported by rusty.lynch@intel.com.
2000-06-28 06:22:29 +00:00
brendan%mozilla.org
f84f1f8708
Comment fixes.
2000-06-21 18:03:01 +00:00
brendan%mozilla.org
deab511971
Fix skip-one-frame-too-many backtrace lossage; update TODO.
2000-06-21 17:59:30 +00:00
brendan%mozilla.org
1d51a60338
Sacred 80th column preservation, brendan-style case indentation (not part of default build).
2000-06-07 19:14:10 +00:00
waterson%netscape.com
5c0a94e714
Add NS_TraceMallocStartupArgs() so it's easier to factor between apprunner and other apps. Like viewer. r=brendan
2000-06-01 02:09:25 +00:00
brendan%mozilla.org
7303a72fd5
Push monitor down to avoid overhead when suppressing tracing (r=waterson).
2000-06-01 01:53:52 +00:00
brendan%mozilla.org
f909f09f84
Fix stupid logfile_list unlink bug; fix comment.
2000-05-17 06:59:21 +00:00
brendan%mozilla.org
51d9b107f3
Improve --trace-malloc to handle multiple logfiles.
2000-05-17 04:44:14 +00:00
brendan%mozilla.org
0986a87284
Fix site logfile flushing on startup; #if 0 doomed libbfd-based version of dladdr.
2000-05-03 03:07:20 +00:00
brendan%mozilla.org
f2203f5ca6
Add TraceMalloc* native methods; allow multiple log files per site file.
2000-04-27 04:02:22 +00:00
brendan%mozilla.org
43bfe2d5e8
Add nsTraceMalloc.[ch] and bloatblame.c, not part of build (setenv NS_TRACE_MALLOC to enable here and in xpfe/bootstrap).
2000-04-20 04:55:26 +00:00