Commit Graph

188 Commits

Author SHA1 Message Date
422bf48e3d Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
242d7da793 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
c4a70fba67 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
23a4cff73b Remove extra class names to address Neil's comments. b=378514 2007-05-03 16:07:26 -07:00
7b23932c81 Record results of cycle collection traversal so we only have to call the traversal APIs once per collection. b=378514 sr=peterv r=graydon 2007-04-25 14:12:11 -07:00
ea32f02e94 Fix for bug 376854 (CycleCollector depends on uninitialized values (ageSelectionCallback and nsPurpleBuffer::BumpGeneration)). r/sr=dbaron. 2007-04-25 11:33:55 -07:00
c52db0702f Followup fixes to making cycle collector use more efficient hashtables: shrink size of table and fix warnings on 64-bit machines. b=377606 sr=peterv r=graydon 2007-04-23 16:34:33 -07:00
8494f2ef41 Fix for bug 372110 (Make cycle-collection debugging features optional at compile time). r=graydon, sr=jst. 2007-04-21 10:43:19 -07:00
b25f19a537 Reorder members to make struct smaller and try to lower MH down again. 2007-04-20 01:51:31 -07:00
969bea006b Fix for bug 377606 (Switch cycle collector to more efficient hashtables). Patch by graydon, r=peterv, sr=dbaron. 2007-04-20 01:01:01 -07:00
fd4e26f795 Fix for bug 373693 (Cycle collector makes AddRef about 6x slower). r=graydon, sr=dbaron. 2007-04-18 03:10:35 -07:00
bb85ea7b62 Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron. 2007-03-27 02:49:06 -07:00
b6b06407fd Backing out change for debugging tinderbox orange. 2007-03-23 09:10:21 -07:00
4a10ac3ce9 Temporarily enable cycle collection timing for debug builds to figure out tinderbox orange. Will back out after qm-xserve01 tinderbox has cycled. 2007-03-23 08:11:53 -07:00
jst@mozilla.org
0a7080b6ca Fixing bug 374239. Add debugging code that will print time spent in various parts of nsCycleCollector::Collect(). r+sr=peterv@propagandism.org 2007-03-19 23:21:31 +00:00
peterv@propagandism.org
88b0f98916 Fix for bug 374096 (Cycle collector doesn't collect all the cycles it could). r=graydon, sr=dbaron. 2007-03-16 12:52:47 +00:00
graydon@mozilla.com
9b5d730c66 Bug 368869, previous commit had a typo: s/bool/PRBool/, s/false/PR_FALSE/. 2007-03-15 23:47:01 +00:00
graydon@mozilla.com
6b4acc72a9 Bug 368869 - Make cycle collection suspect all native wrapper roots
r=brendan, sr=jst
2007-03-15 23:05:03 +00:00
joshmoz@gmail.com
0b58da6c77 XPCOM cycle collector is initialized statically, don't do that. b=369336 r=graydon sr=vlad 2007-03-14 06:15:10 +00:00
dbaron@dbaron.org
5b5d15fc0b Add debugging code to cycle collector to give information about objects it has been told ought to be freed. b=372766 r=graydon sr=peterv 2007-03-09 23:00:14 +00:00
peterv@propagandism.org
ad770153f4 Take care of reviewer comment (bug 373219). 2007-03-09 13:49:45 +00:00
peterv@propagandism.org
6151b803cd Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
bzbarsky@mit.edu
219f26a2fe Relanding bug 368523 now that we've established it's the reason for the Txul change. 2007-03-06 19:25:10 +00:00
bzbarsky@mit.edu
5bcb259b9f Back out bug 368523 to test performance impact 2007-03-06 18:23:15 +00:00
dbaron@dbaron.org
b460c72b38 Make nsCycleCollector::Fault do something in debug builds. b=372320 r=graydon sr=peterv 2007-03-05 21:07:51 +00:00
bzbarsky@mit.edu
887a93f206 Don't hook malloc by default (still hook it if asked to via the env vars), and
when it's hooked ignore free(0) calls.  Bug 368523, r=graydon, sr=dbaron
2007-03-02 01:08:03 +00:00
peterv@propagandism.org
2fc3ede943 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst. 2007-02-18 14:38:04 +00:00
gerv@gerv.net
2cf27fa541 Bug 236613: change to MPL/LGPL/GPL tri-license. 2007-02-14 17:33:38 +00:00
jst@mozilla.org
5bbf724b7a Landing graydon's fix for bug 366578. Make the cycle collector run at shutdown. 2007-01-25 00:24:08 +00:00
martijn.martijn@gmail.com
bc056e1ab7 Bug 366119 � Mingw build error in nsCycleCollector.cpp, r=graydon, sr=jst 2007-01-23 00:39:25 +00:00
graydon@mozilla.com
4e1e338c38 Bug 366063: better fix to critical crasher, replacing band-aid submitted in 333078.
r=dbaron
2007-01-09 01:33:02 +00:00
jst@mozilla.org
044ba4503d Landing 64-bit fixes for bug 333078. r=graydon@mozilla.com, sr=bugmail@sicking.cc 2007-01-05 23:59:18 +00:00
graydon@mozilla.com
4a6394b6b6 Bug 333078: XPCOM cycle collector, first performance-related followup patch.
Reorganizes collection throttling to coincide with existing JS_GC scheme.
2007-01-05 01:44:42 +00:00
graydon@mozilla.com
c164b31493 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
vladimir@pobox.com
cd302b0183 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir@pobox.com
ce03bc77f5 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many 2006-11-22 21:31:33 +00:00
vladimir@pobox.com
69a7d0a5f2 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many 2006-11-22 20:48:47 +00:00
vladimir@pobox.com
c2bad5cc6e b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00