Граф коммитов

567 Коммитов

Автор SHA1 Сообщение Дата
scc%mozilla.org b319334e3f turning on |HAVE_CPP_2BYTE_WCHAR_T| 2000-09-03 02:24:58 +00:00
beard%netscape.com 7b1c9de390 [not part of build] traceObject, markObject. 2000-09-02 05:44:48 +00:00
scc%mozilla.org ad0049c10e fixed comment typo (now was a good time, since I just checked in string changes). r=brendan 2000-09-02 04:17:11 +00:00
mkaply%us.ibm.com ca216d2361 #48208
r=dougt, a=brendan
Don't DebugBreak if the messagebox got an error displaying
2000-09-01 21:41:42 +00:00
beard%netscape.com 45bf784816 Added traceObject() method. 2000-08-31 14:35:13 +00:00
waterson%netscape.com cbb5a88d04 Damn. Wrong spot. 2000-08-30 00:16:59 +00:00
waterson%netscape.com 18be26752c First checked in. 2000-08-30 00:16:58 +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
mccabe%netscape.com a11931fc6a 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 d76099fa48 OS/2 Tinderbox breakage
More XP_PC stuff
2000-08-24 13:58:21 +00:00
warren%netscape.com 3f96fe5c0f Bug 44352. Adding IsLowMemory predicate & implementation for Windows. 2000-08-24 08:35:13 +00:00
jband%netscape.com 0ba3f033e6 fixing Mac bustage? 2000-08-22 06:33:06 +00:00
jband%netscape.com 682f53de8e fix uninitialized member crash in secondary constructor of nsConsoleMessage 2000-08-22 05:54:25 +00:00
cls%seawood.org eb57d82d55 Native irix compilers don't seem to know about |typename| either 2000-08-19 08:01:28 +00:00
dprice%netscape.com 70955cde50 replacing this file in the right spot. 2000-08-16 04:23:40 +00:00
dmose%mozilla.org 7d90bae996 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 ea12edc20a Jar manifest updates. 2000-08-11 09:05:40 +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
dbaron%fas.harvard.edu 20c3b28392 Fixing bustage. Stupid error... 2000-08-06 17:17:22 +00:00
dbaron%fas.harvard.edu 3faac42dec 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 847d576a56 Workaround for long-standing AIX bustage 2000-07-28 08:11:51 +00:00
cls%seawood.org f97564f1f9 The AIX compiler doesn't seem to know how to handle |typename| 2000-07-28 06:57:20 +00:00
brendan%mozilla.org b612891dd7 Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch]. 2000-07-26 02:19:27 +00:00
brendan%mozilla.org 4ad25355a3 - 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 ea8075327d Lets show some objdir sensitivity. 2000-07-25 11:03:25 +00:00
warren%netscape.com 88e6c9b31f Fixed linux makefile for xpcom.properties 2000-07-25 05:54:38 +00:00
warren%netscape.com 3d627d5543 Added xpcom.properties to linux make. 2000-07-25 05:51:34 +00:00
warren%netscape.com 7ac7233df8 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 bdf3d42400 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 3cd1429629 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 f932a2bc44 Added nsIErrorService to build. 2000-07-22 05:46:39 +00:00
warren%netscape.com f8798aa396 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 0dcd470d51 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build). 2000-07-21 20:42:15 +00:00
warren%netscape.com 86e087b9b1 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 9191a143f2 reserving iid for nsIEditorObserver; NOT PART OF BUILD 2000-07-14 19:12:30 +00:00
warren%netscape.com 1f64d48219 Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren 2000-07-12 00:28:57 +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 3b5ee23e1c Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron 2000-07-11 07:29:05 +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
warren%netscape.com 1426b26768 Defensive programming for UnregisterObserver after Shutdown. r=dbaron 2000-07-11 06:56:06 +00:00
warren%netscape.com ee4a37e955 Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron 2000-07-11 06:03:08 +00:00
brendan%mozilla.org c8c2095917 First cut at reusable trace-malloc logfile reader, factored from bloatblame. 2000-07-09 08:53:46 +00:00
ruslan%netscape.com e8005c2d01 Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful 2000-07-05 22:58:28 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
brendan%mozilla.org 840af768bc 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 9096d0d767 Work around unsolved bug reported by rusty.lynch@intel.com. 2000-06-28 06:22:29 +00:00
rich.burridge%sun.com 7a1ed30f9b 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 705dc8cd51 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 e1274cde0a 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 00173e1de5 Hoist loop invariant. 2000-06-21 18:03:34 +00:00