beard%netscape.com
5b8256210a
Added traceObject() method.
2000-08-31 14:35:13 +00:00
waterson%netscape.com
0cd03cf38a
Damn. Wrong spot.
2000-08-30 00:16:59 +00:00
waterson%netscape.com
7968871a5d
First checked in.
2000-08-30 00:16:58 +00:00
brendan%mozilla.org
5387c4e16b
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
mccabe%netscape.com
83a2aee03e
Fix to 49416.
...
Emit NS_NO_VTABLE in xpidl-generated interface files. NS_NO_VTABLE is defined in nsISupportsUtils.h, and on windows generates __declspec(novtable).
This saves us some code space, and may also be a runtime win.
Initial version of this fix courtesy Adam Lock <adamlock@netscape.com>.
r=jband
a=beard
NOTE this change will cause the world to recompile.
2000-08-25 09:58:35 +00:00
mkaply%us.ibm.com
60706b55ac
OS/2 Tinderbox breakage
...
More XP_PC stuff
2000-08-24 13:58:21 +00:00
warren%netscape.com
10b3ee21a6
Bug 44352. Adding IsLowMemory predicate & implementation for Windows.
2000-08-24 08:35:13 +00:00
jband%netscape.com
e38aadaa66
fixing Mac bustage?
2000-08-22 06:33:06 +00:00
jband%netscape.com
4e732abd38
fix uninitialized member crash in secondary constructor of nsConsoleMessage
2000-08-22 05:54:25 +00:00
cls%seawood.org
e01272bbf7
Native irix compilers don't seem to know about |typename| either
2000-08-19 08:01:28 +00:00
dprice%netscape.com
fc188e8681
replacing this file in the right spot.
2000-08-16 04:23:40 +00:00
dmose%mozilla.org
a4c010c16e
add debugging frobs to XP_UNIX platforms. setenv XPCOM_DEBUG_BREAK to make NS_ASSERTION have other behaviors, like dumping the stack to stderr or sending SIGSTOP to the pgrp to allow attaching with gdb for race condition debugging. r=bryner@netscape.com, a=brendan@mozilla.org.
2000-08-14 23:09:39 +00:00
warren%netscape.com
a65ba7ec30
Jar manifest updates.
2000-08-11 09:05:40 +00:00
brendan%mozilla.org
53ef9c0ba4
Add captioned timestamp events, for JS storyboarding (not part of build).
2000-08-09 02:41:58 +00:00
dbaron%fas.harvard.edu
110242a861
Fixing bustage. Stupid error...
2000-08-06 17:17:22 +00:00
dbaron%fas.harvard.edu
710b05e789
Fix crash on shutdown (or patch things up so they don't crash) by releasing memory pressure observers closer to the beginning of XPCOM shutdown. b=47791 r=waterson@netscape.com
2000-08-06 16:23:04 +00:00
cls%seawood.org
f9754b268f
Workaround for long-standing AIX bustage
2000-07-28 08:11:51 +00:00
cls%seawood.org
fe49190942
The AIX compiler doesn't seem to know how to handle |typename|
2000-07-28 06:57:20 +00:00
brendan%mozilla.org
6bb2c26634
Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch].
2000-07-26 02:19:27 +00:00
brendan%mozilla.org
55ce126995
- 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.
2000-07-26 00:24:08 +00:00
cls%seawood.org
305d1f7993
Lets show some objdir sensitivity.
2000-07-25 11:03:25 +00:00
warren%netscape.com
8bd7267f01
Fixed linux makefile for xpcom.properties
2000-07-25 05:54:38 +00:00
warren%netscape.com
3fbed19a16
Added xpcom.properties to linux make.
2000-07-25 05:51:34 +00:00
warren%netscape.com
2b01440bc0
Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
2000-07-25 05:45:56 +00:00
mkaply%us.ibm.com
f83c889180
OS/2 Tinderbox breakage
...
Attempt 2 to fix this - just cast the functions
2000-07-22 15:19:57 +00:00
mkaply%us.ibm.com
c03c730a44
OS/2 Tinderbox breakage
...
Attempt 1 to fix this - add PR_CALLBACK for VisualAge
2000-07-22 14:13:00 +00:00
warren%netscape.com
d9d9722138
Added nsIErrorService to build.
2000-07-22 05:46:39 +00:00
warren%netscape.com
05c749064c
Added nsIErrorService to map from nsresult codes to string bundles and keys for error messages.
2000-07-22 05:38:43 +00:00
brendan%mozilla.org
02c5512498
Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
2000-07-21 20:42:15 +00:00
warren%netscape.com
9cb1fc4213
Reverted change from doronr@naboonline.com to print warning. This gets called erroneously when the program quits.
2000-07-19 09:32:35 +00:00
jfrancis%netscape.com
7df6a29f8a
reserving iid for nsIEditorObserver; NOT PART OF BUILD
2000-07-14 19:12:30 +00:00
warren%netscape.com
5946c0c8bf
Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren
2000-07-12 00:28:57 +00:00
brendan%mozilla.org
0d66d403b3
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
2f3e104192
Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron
2000-07-11 07:29:05 +00:00
warren%netscape.com
ca180c6d4d
Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron
2000-07-11 07:28:14 +00:00
warren%netscape.com
4157de5421
Defensive programming for UnregisterObserver after Shutdown. r=dbaron
2000-07-11 06:56:06 +00:00
warren%netscape.com
bcd997ce22
Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron
2000-07-11 06:03:08 +00:00
brendan%mozilla.org
e419a66c7a
First cut at reusable trace-malloc logfile reader, factored from bloatblame.
2000-07-09 08:53:46 +00:00
ruslan%netscape.com
6b7345ebd1
Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful
2000-07-05 22:58:28 +00:00
cls%seawood.org
1f3b6d75ab
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
2000-06-30 08:08:04 +00:00
brendan%mozilla.org
ca37059e30
Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support.
2000-06-28 06:42:29 +00:00
brendan%mozilla.org
2eab0c4a26
Work around unsolved bug reported by rusty.lynch@intel.com.
2000-06-28 06:22:29 +00:00
rich.burridge%sun.com
049a2966bf
Fix to prevent build bustage on nebiros with Sun compilers.
...
The Sun compiler expects a specific format for the function
used by the #pragma statement. It should return void and
have no arguments. It also needs an initial function prototype.
r=cls
Fix for breakage for checkin for bug #40769 .
2000-06-27 05:58:00 +00:00
rich.burridge%sun.com
69a9f4b960
Fix to allow refcnt'ing on the Solaris platform.
...
r=scc@mozilla.org a=brendan@mozilla.org
Bug #40769
2000-06-26 22:23:47 +00:00
dougt%netscape.com
8b638a4c67
I IDL-ifying the nsProxyObjectManager.
...
I have updated all users that I found
grepping the source tree.
r=valeski@netscape.com
a=waterson@netscape.com
b=43131
Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
brendan%mozilla.org
0cb0663247
Hoist loop invariant.
2000-06-21 18:03:34 +00:00
brendan%mozilla.org
543138903e
Comment fixes.
2000-06-21 18:03:01 +00:00
brendan%mozilla.org
155c1ab6f3
Fix skip-one-frame-too-many backtrace lossage; update TODO.
2000-06-21 17:59:30 +00:00
amusil%netscape.com
aafe798439
Turn on wchar_t
2000-06-21 01:31:09 +00:00
vidur%netscape.com
2017802f4c
Fix for bug 42860. nsIScriptNameSpaceManager::RegisterGlobalName() now takes an additional IID parameter. If the IID is that of the nsIScriptObjectOwner interface, we assume it's an old-style idlc interface. Otherwise we try to wrap it using XPConnect. r=rginda
2000-06-21 00:42:59 +00:00