Commit Graph

188 Commits

Author SHA1 Message Date
6cf5261bf3 Fix DEBUG_CC bustage from bug 402966. All changes #ifdef DEBUG_CC (not part of the default build). 2008-01-10 14:27:07 -08:00
275d63d334 Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron. 2008-01-10 06:10:03 -08:00
98985196e3 [OS/2] Bug 404407: improve memory consumption on OS/2. Part 1, call heapmin after cycle collection, r=dbaron 2008-01-09 13:14:08 -08:00
8feec997b1 Report cycle collector faults to the error console and the observer service. Bug 410295, r+sr=peterv, a=schrep 2008-01-06 14:05:10 -08:00
339cfaf93d Fix DEBUG_CC compilation error (bug 410036). r+sr=peterv, a=blocking1.9+. DEBUG_CC-only change. 2008-01-04 19:57:09 -08:00
af2991c851 Landing patch for bug 401687. Stop reference counting JS objects in the cycle collector. Patch by peterv@propagandism.org, r+sr=dbaron@mozilla.com,igor@mir2.org, a=dsicore@mozilla.com 2007-11-01 15:51:57 -07:00
f68a0487bb Landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-22 14:42:25 -07:00
79b9a53282 backout Bug 373462, bug 385322. Still regress tp/talos 2007-10-21 09:46:54 -07:00
3ade860bd7 Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-21 07:09:29 -07:00
651965e59f back out Bug 373462 / bug 385322 (again :( ) 2007-09-29 10:33:22 -07:00
3dd9df400b Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst 2007-09-29 08:02:57 -07:00
d109a785f2 backout the test patch for Bug 373462 and 385322 2007-09-23 09:10:12 -07:00
12473d9648 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc' 2007-09-23 07:05:27 -07:00
e6d7a42f88 backout patch for Bug 373462, Bug 385322 2007-09-21 03:00:47 -07:00
9dcb41ac02 Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking 2007-09-21 01:54:36 -07:00
45e782dbeb Remove incorrect use of NS_METHOD. b=394566 r+sr=peterv a=bzbarsky 2007-09-17 17:30:06 -07:00
4bba04ca3f Unbreak DEBUG_CC on Windows (calling convention mismatch); apparently nobody really uses it there. NPOTDB, rs=sicking 2007-08-30 14:47:26 -07:00
f54359c0c9 Fix bustage. 2007-08-22 18:29:54 -07:00
6d042c86cd Print path to expected garbage along with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:47:47 -07:00
c34b8d7505 When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan 2007-08-22 17:47:24 -07:00
39f90b5f53 Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:46:43 -07:00
483ce7d8db Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
c26a5a614c Explain another possibility in this debugging printf. DEBUG_CC only. 2007-07-14 12:06:10 -07:00
a22ddf3589 Make ExplainLiveExpectedGarbage traverse the suspectCurrent roots, since now that it's more accurate, more graph is always better. b=387005 r=graydon 2007-07-08 12:26:44 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
2e42c880b1 Make Fault give more information, #ifdef DEBUG_CC. b=386947 r=graydon 2007-07-05 15:38:38 -07:00
f2a6a5d56b In ExplainLiveExpectedGarbage, print only the externally-referenced nodes from which the expected garbage is reachable. b=387005 r=graydon 2007-07-05 15:20:16 -07:00
6eaea4511d Make suspectCurrent assertion not fire constantly after we Fault. b=386664 r+sr=peterv 2007-07-03 14:21:57 -07:00
ba1fd13c06 Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-27 13:41:26 -07:00
3d335a39c0 Fix gcc warning about casting string literal to char*, DEBUG-only. 2007-06-27 13:40:52 -07:00
8ea8380980 Keep the purple bit in sync with the purple buffer when suspect and forget calls are dropped on the floor. b=385548 r=graydon 2007-06-27 10:51:48 -07:00
0a42f12ff2 Back out 385548 to try to fix test orange. 2007-06-26 22:26:38 -07:00
6edfe407c9 Don't set the purple bit when suspect calls are dropped on the floor. b=385548 r=graydon 2007-06-26 21:47:40 -07:00
d015831435 Print the warning message for failure to suspect or unlink only for the objects that are the roots of what would have been collected. b=385549 r=graydon 2007-06-25 13:36:24 -07:00
42a4be4f3c Back out again. 2007-06-21 17:30:41 -07:00
8fde4bab69 See if using mScanDelay of 1 instead of 0 fixes the leak regression. 2007-06-21 16:49:37 -07:00
b01872e6b3 Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-21 16:02:53 -07:00
8baf7b9c09 Bug 384942, dump graph on cycle collection fault.
r=dbaron
2007-06-18 18:29:10 -07:00
ccef0b5201 Back out bug 381199. 2007-06-13 17:12:16 -07:00
05e15c63eb Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-13 16:22:19 -07:00
460e0fd8ba Fix for bug 383651 (Re-entrancy into nsCycleCollector::Collect can result in a crash). Patch by ak.miller@auckland.ac.nz, r=graydon, sr=dbaron. 2007-06-08 03:17:21 -07:00
2293eb3012 Don't loop through all the possible shutdown collections when we suspect all native wrappers. b=383234 r+sr=peterv 2007-06-06 15:09:00 -07:00
647eaaf6d9 Shutdown in one cycle when we set mScanDelay to 0. b=383234 r+sr=peterv 2007-06-06 15:08:25 -07:00
8014b00bb9 strdup when allocating mName so we have useful pointers. b=383234 r+sr=peterv 2007-06-06 15:07:29 -07:00
947e25a476 Print info about things that are suspected on the extra collections at shutdown to catch deficiencies in traversal that cause us to need the extra collections. b=383234 r+sr=peterv 2007-06-06 15:06:56 -07:00
9dd13485d1 When explaining why expected garbage was not collected, list the known references when some were unknown. b=383234 r+sr=peterv 2007-06-06 15:06:00 -07:00
4382827b9d Make DEBUG_CC compile again. b=383234 r+sr=peter 2007-06-06 15:04:26 -07:00
653255d66d Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
ec0187a43e Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
e75d5d0554 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00