Commit Graph

576 Commits

Author SHA1 Message Date
87c625cc7b Bug 503638 OOM crash [@ PL_DHashTableOperate | _MD_CURRENT_THREAD] in nsCycleCollector
r=dbaron
2010-02-28 11:23:59 +01:00
L. David Baron
c062c5115c Make GraphWalker use templates instead of virtual functions. (Bug 537547) r=smaug 2010-01-12 08:51:39 -08:00
Peter Van der Beken
6b5bd5e435 Make sure debugging code for topcrash bug 500105 brings up breakpad. r=dbaron. 2009-12-03 12:23:06 +01:00
Benjamin Smedberg
aeab3a15f2 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
48bac9af3d 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
c13efe6d22 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
57d0e9be9e 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
d3953e7906 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
e989e73dc3 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
68d4588900 Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon). 2009-08-19 15:13:02 -07:00
Blake Kaplan
a2017e2eb4 Bug 502687 - GCGraphBuilder::AddNode crashes on OOM. r=dbaron 2009-07-16 13:06:48 -07:00
L. David Baron
6335025c75 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
074f0c9152 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
c05c17b5fa Fix for bug 492324 ("ASSERTION: wrong entry" during cycle collection (nsXBLDocumentInfo)). r=dbaron, sr=jst. 2009-06-01 21:22:18 +02:00
L. David Baron
f0f03193a6 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
335cbbc0d8 Use the purple buffer in ExplainLiveExpectedGarbage. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
3e684dc7cc 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
517528e38b 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
c934ddbaa8 Fix for bug 423473 (Cycle collector should restart after getting a fault). r/sr=jst. 2009-04-09 14:02:48 +02:00
Robert O'Callahan
cc1442edde Bug 475023. Fix DEBUG_CC compilation for nsCStringArray removal. r+sr=roc 2009-01-30 20:16:16 +13:00
Fred Jendrzejewski
cbc6639bab Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg 2009-01-22 17:15:34 +13:00
Arpad Borsos
1b55360c07 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
3f6f3701c7 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
ee99fe6994 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
529eeb4a61 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
5518a80eef 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
b5506a29a7 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
93197ea6e5 Bug 415025, try to improve CC scheduling, r=peterv, sr=jst 2008-02-25 09:47:25 -08:00
49354b20bc Fixes for Windows CE. b=418662, r=bsmedberg, a=damons 2008-02-22 16:22:47 -08:00
1381c41ad0 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
975a01887e Fix DEBUG_CC builds. 2008-02-15 14:23:16 -08:00
9f22524f60 Fix for bug 405128 (Remove some nsDeque use from cycle collector). r/sr=dbaron, a=beltzner. 2008-02-15 05:12:55 -08:00
3ca4c546ec 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
81a42e8d29 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
15a6744f32 Try to fix orange 2008-01-29 13:42:05 -08:00
a7822bdf13 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
7e85d269a6 Bug 376530 - "Fix CycleCollector building with uClibc library" [p=romaxa@gmail.com (romaxa) r+sr=peterv a1.9=schrep] 2008-01-21 16:17:41 -08:00
4b68c0e2bc Fix DEBUG_CC bustage treating all XPConnect roots as expected garbage. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only). 2008-01-11 14:24:04 -08:00
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