14 Commits

Author SHA1 Message Date
blythe%netscape.com
552180e203 Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf


git-svn-id: svn://10.0.0.236/trunk@111713 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:03:01 +00:00
dp%netscape.com
51a42e0f6f bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110504 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 00:24:12 +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
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
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
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
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
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
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
brendan%mozilla.org
41c29ad8e2 Improve --trace-malloc to handle multiple logfiles.
git-svn-id: svn://10.0.0.236/trunk@70278 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:44:14 +00:00
brendan%mozilla.org
ab1fe68877 Add TraceMalloc* native methods; allow multiple log files per site file.
git-svn-id: svn://10.0.0.236/trunk@67370 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:02:22 +00:00
brendan%mozilla.org
01a44c7e01 Comment improvements.
git-svn-id: svn://10.0.0.236/trunk@66865 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 18:36:10 +00:00
brendan%mozilla.org
a52af9e334 Add nsTraceMalloc.[ch] and bloatblame.c, not part of build (setenv NS_TRACE_MALLOC to enable here and in xpfe/bootstrap).
git-svn-id: svn://10.0.0.236/trunk@66523 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:55:26 +00:00