Commit Graph

117 Commits

Author SHA1 Message Date
Igor Bukanov
b8792e95c1 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Robert O'Callahan
b096738cb6 Fix for bug 466157 (Enable dumping of cycle-collector graphs in any build). r=dbaron, a=jst.
--HG--
extra : rebase_source : b47d149434c735981a9a80ae6016624120fee371
2010-08-12 12:03:23 +12:00
Dão Gottwald
9389a17efd Backed out changeset a27043cd19ff 2010-08-18 09:46:54 +02:00
Robert O'Callahan
3ea434fa14 Bug 497808. Enable dumping of cycle-collector graphs in any debug build. r=peterv,a=blocking 2010-08-12 12:03:23 +12:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Peter Van der Beken
75d7cd044e Back out debugging code for bug 500105. 2010-07-30 11:57:19 +02:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Andreas Gal
4b4fb2fced Move the cycle collector out of the GC callback (573060, r=peterv). 2010-07-15 18:08:47 -07:00
Andreas Gal
852209f576 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Andreas Gal
483a33d003 Backed out bug 573060. 2010-07-15 14:14:26 -07:00
Andreas Gal
124d968d35 Move the cycle collector our of the GC callback (573060, r=peterv). 2010-07-15 10:30:37 -07:00
Jonas Sicking
26eb9625c3 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Jonas Sicking
8e86b28780 Bug 549743: Abort if cycle collected object is refcounted from threads other than the main thread. Such refcounting will randomly cause leaks and crashes anyway, so better crash up front to make sure developers notice. r=dbaron 2010-03-02 16:04:34 -08:00
timeless@mozdev.org
0c5fea1c77 Bug 503638 OOM crash [@ PL_DHashTableOperate | _MD_CURRENT_THREAD] in nsCycleCollector
r=dbaron
2010-02-28 11:23:59 +01:00
L. David Baron
d0b883e1b0 Make GraphWalker use templates instead of virtual functions. (Bug 537547) r=smaug 2010-01-12 08:51:39 -08:00
Peter Van der Beken
1ab8a39a5f Make sure debugging code for topcrash bug 500105 brings up breakpad. r=dbaron. 2009-12-03 12:23:06 +01:00
Benjamin Smedberg
43b1c28f44 Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron 2009-11-09 14:30:01 -05:00
Benjamin Smedberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
699dcb26a7 Add runtime NS_IsMainThread checks to protect the cycle collector's purple buffer, and make NS_IsMainThread faster on our major platforms. (Bug 521750) r=peterv 2009-10-28 10:28:57 -07:00
Peter Van der Beken
e7c0714f81 Add temporary debugging code to help figure out top crash bug 500105, part 2. r=dbaron. 2009-10-07 17:44:28 -07:00
Peter Van der Beken
c55812fbbb Add temporary debugging code to help figure out top crash bug 500105, part 1. r=dbaron. 2009-10-27 13:38:18 +01:00
L. David Baron
f58e5b8427 Backed out changeset d6add78eff55 (Increase maximum collections at shutdown from 5 to 10 to see if it fixes the leaks on Windows mochitests 2/5). 2009-10-23 00:47:27 -04:00
L. David Baron
de8e4a44ba Increase maximum collections at shutdown from 5 to 10 to see if it fixes the leaks on Windows mochitests 2/5. 2009-10-22 18:08:57 -04:00
Andreas Gal
81c28c4fe8 Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon). 2009-08-19 15:13:02 -07:00
Blake Kaplan
c333b464ab Bug 502687 - GCGraphBuilder::AddNode crashes on OOM. r=dbaron 2009-07-16 13:06:48 -07:00
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
L. David Baron
7f0a460c49 Expose the cycle collector language runtimes so that other code can do cycle collection traversal. (Bug 500317) r+sr=peterv 2009-07-08 18:10:29 -07:00
Peter Van der Beken
8291a79679 Fix for bug 492324 ("ASSERTION: wrong entry" during cycle collection (nsXBLDocumentInfo)). r=dbaron, sr=jst.
--HG--
extra : rebase_source : ea5eb556d1fe86b42ede4a0515e0c4c06544117b
2009-06-01 21:22:18 +02:00
L. David Baron
5efb37b7c1 Make cycle collector's purple buffer consist of entries that the objects in the purple buffer can point to, and remove the notion of scan delay (which was previously set to 0). (Bug 490695) r+sr=peterv r=bsmedberg 2009-05-06 13:46:04 -07:00
L. David Baron
a8fbab994c Use the purple buffer in ExplainLiveExpectedGarbage. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
1d193a2b78 Reverse the meaning of suspectCurrentCount and rename it to expectedGarbageCount. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
23e03f54d1 When we print warnings about objects that should have been collected, see if they're in the purple buffer and print different warnings if they are. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
Peter Van der Beken
5832c7c26e Fix for bug 423473 (Cycle collector should restart after getting a fault). r/sr=jst.
--HG--
extra : rebase_source : fd82c02bef434c36383df0862af2399455caa65b
2009-04-09 14:02:48 +02:00
Robert O'Callahan
e4d777c4ce Bug 475023. Fix DEBUG_CC compilation for nsCStringArray removal. r+sr=roc
--HG--
extra : rebase_source : e217b220febb4a5770efb562580210992fa88126
2009-01-30 20:16:16 +13:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Peter Van der Beken
c993fed597 Address review comment for bug 423471 - Cycle collection shouldn't fault when traversing script objects of languages that don't participate. r/sr=dbaron. 2008-06-21 19:47:46 +02:00
Peter Van der Beken
b222a800ca Bug 423471 - Cycle collection shouldn't fault when traversing script objects of languages that don't participate. r/sr=dbaron. 2008-06-21 17:25:29 +02:00
dbaron@dbaron.org
e0f067e2c8 Print shortest path to expected garbage for unlink deficiencies as well. b=422848 r+sr=peterv a=DEBUG_CC only (not part of default build) 2008-03-27 10:09:51 -07:00
dbaron@dbaron.org
537f2f5b13 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
dbaron@dbaron.org
d65e4ef335 Fix DEBUG_CC bustage on Windows resulting from bug 402966 (and bug 407034). r+sr=peterv a=Not part of the default build (DEBUG_CC only) 2008-03-07 09:55:51 -08:00
Olli.Pettay@helsinki.fi
5bf8e82603 Bug 415025, try to improve CC scheduling, r=peterv, sr=jst 2008-02-25 09:47:25 -08:00
dougt@meer.net
c8c57fc064 Fixes for Windows CE. b=418662, r=bsmedberg, a=damons 2008-02-22 16:22:47 -08:00
bent.mozilla@gmail.com
45df174c7f Bug 414977 - "insufficient unlink methods in some DOM classes?". Move the warning until after XPConnect deferred releases, r=dbaron, sr=peterv, a=blocking1.9+. 2008-02-22 12:25:12 -08:00
peterv@propagandism.org
1b59a2020d Fix DEBUG_CC builds. 2008-02-15 14:23:16 -08:00
peterv@propagandism.org
a61edec0f0 Fix for bug 405128 (Remove some nsDeque use from cycle collector). r/sr=dbaron, a=beltzner. 2008-02-15 05:12:55 -08:00
dbaron@dbaron.org
6520043418 Warn when Unlink doesn't do what it should. b=414972 r+sr=peterv a=not part of default build (DEBUG_CC only) 2008-02-08 11:48:51 -08:00
peterv@propagandism.org
6d9909d3c6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -08:00
peterv@propagandism.org
02be459ead Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00