103 Commits

Author SHA1 Message Date
peterv%propagandism.org
939b4e57e3 Bug 502687 - GCGraphBuilder::AddNode crashes on OOM. Patch by mrbkap, r=dbaron, a=dveditz.
git-svn-id: svn://10.0.0.236/trunk@259382 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-13 14:29:15 +00:00
dbaron%dbaron.org
153b5578c3 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)
git-svn-id: svn://10.0.0.236/trunk@248698 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-27 17:09:51 +00:00
dbaron%dbaron.org
598935f398 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons
git-svn-id: svn://10.0.0.236/trunk@248031 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 23:11:10 +00:00
dbaron%dbaron.org
85a1404fbd 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)
git-svn-id: svn://10.0.0.236/trunk@247313 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 17:55:51 +00:00
Olli.Pettay%helsinki.fi
643d30c4fd Bug 415025, try to improve CC scheduling, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@246445 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 17:47:26 +00:00
dougt%meer.net
d2f5437178 Fixes for Windows CE. b=418662, r=bsmedberg, a=damons
git-svn-id: svn://10.0.0.236/trunk@246329 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 00:22:48 +00:00
bent.mozilla%gmail.com
bba2b05fe4 Bug 414977 - "insufficient unlink methods in some DOM classes?". Move the warning until after XPConnect deferred releases, r=dbaron, sr=peterv, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@246317 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 20:25:12 +00:00
peterv%propagandism.org
ed31b11721 Fix DEBUG_CC builds.
git-svn-id: svn://10.0.0.236/trunk@245797 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 22:23:16 +00:00
peterv%propagandism.org
f81cd640ea Fix for bug 405128 (Remove some nsDeque use from cycle collector). r/sr=dbaron, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@245777 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 13:12:55 +00:00
dbaron%dbaron.org
a42e54cbdc Warn when Unlink doesn't do what it should. b=414972 r+sr=peterv a=not part of default build (DEBUG_CC only)
git-svn-id: svn://10.0.0.236/trunk@245246 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 19:48:51 +00:00
peterv%propagandism.org
ddd287d0a6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@244430 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 02:05:45 +00:00
peterv%propagandism.org
3225521caa Try to fix orange
git-svn-id: svn://10.0.0.236/trunk@244389 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 21:42:06 +00:00
peterv%propagandism.org
26ccbe7007 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@244379 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 20:48:35 +00:00
reed%reedloden.com
c13f93f8ca Bug 376530 - "Fix CycleCollector building with uClibc library" [p=romaxa@gmail.com (romaxa) r+sr=peterv a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@243694 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-22 00:17:41 +00:00
dbaron%dbaron.org
d0fae765a4 Fix DEBUG_CC bustage treating all XPConnect roots as expected garbage. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only).
git-svn-id: svn://10.0.0.236/trunk@242926 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-11 22:24:04 +00:00
dbaron%dbaron.org
717c82c204 Fix DEBUG_CC bustage from bug 402966. All changes #ifdef DEBUG_CC (not part of the default build).
git-svn-id: svn://10.0.0.236/trunk@242863 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 22:27:07 +00:00
peterv%propagandism.org
e445c8166a Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@242827 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 14:10:08 +00:00
mozilla%weilbacher.org
8b5dac570a [OS/2] Bug 404407: improve memory consumption on OS/2. Part 1, call heapmin after cycle collection, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@242761 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 21:14:08 +00:00
bzbarsky%mit.edu
26dd4111bc Report cycle collector faults to the error console and the observer
service. Bug 410295, r+sr=peterv, a=schrep


git-svn-id: svn://10.0.0.236/trunk@242512 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-06 22:05:10 +00:00
jruderman%hmc.edu
46665dd90a Fix DEBUG_CC compilation error (bug 410036). r+sr=peterv, a=blocking1.9+. DEBUG_CC-only change.
git-svn-id: svn://10.0.0.236/trunk@242395 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-05 03:57:09 +00:00
jst%mozilla.org
ae3c7e9020 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
git-svn-id: svn://10.0.0.236/trunk@238427 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-01 22:51:59 +00:00
Olli.Pettay%helsinki.fi
cd8561b5b7 Landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
git-svn-id: svn://10.0.0.236/trunk@237998 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-22 21:42:26 +00:00
Olli.Pettay%helsinki.fi
2e1bff074e backout Bug 373462, bug 385322. Still regress tp/talos
git-svn-id: svn://10.0.0.236/trunk@237973 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 16:46:56 +00:00
Olli.Pettay%helsinki.fi
ae040f9f0b Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
git-svn-id: svn://10.0.0.236/trunk@237971 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 14:09:31 +00:00
Olli.Pettay%helsinki.fi
e62ab6eeb6 back out Bug 373462 / bug 385322 (again :( )
git-svn-id: svn://10.0.0.236/trunk@236922 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:33:24 +00:00
Olli.Pettay%helsinki.fi
8cb7efe95a Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@236920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 15:02:58 +00:00
Olli.Pettay%helsinki.fi
8b1c629f2c backout the test patch for Bug 373462 and 385322
git-svn-id: svn://10.0.0.236/trunk@236522 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 16:10:13 +00:00
Olli.Pettay%helsinki.fi
10c4faa867 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
git-svn-id: svn://10.0.0.236/trunk@236520 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 14:05:29 +00:00
Olli.Pettay%helsinki.fi
f316d5eeb5 backout patch for Bug 373462, Bug 385322
git-svn-id: svn://10.0.0.236/trunk@236434 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 10:00:48 +00:00
Olli.Pettay%helsinki.fi
66a725f097 Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking
git-svn-id: svn://10.0.0.236/trunk@236430 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 08:54:36 +00:00
dbaron%dbaron.org
8fa017c688 Remove incorrect use of NS_METHOD. b=394566 r+sr=peterv a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236174 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 00:30:06 +00:00
jwalden%mit.edu
117e3a6eeb Unbreak DEBUG_CC on Windows (calling convention mismatch); apparently nobody really uses it there. NPOTDB, rs=sicking
git-svn-id: svn://10.0.0.236/trunk@233436 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 21:47:26 +00:00
dbaron%dbaron.org
159e40d7fe Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@232906 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 01:29:54 +00:00
dbaron%dbaron.org
2c99976e67 Print path to expected garbage along with refcount imbalances. b=387224 r=graydon a=brendan
git-svn-id: svn://10.0.0.236/trunk@232901 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:28 +00:00
dbaron%dbaron.org
1a81879c1e When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan
git-svn-id: svn://10.0.0.236/trunk@232900 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:27 +00:00
dbaron%dbaron.org
e6b3ee0c67 Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan
git-svn-id: svn://10.0.0.236/trunk@232899 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:26 +00:00
benjamin%smedbergs.us
0c44b4be00 Bug 386025 - Expose cycle-collection symbols, r=graydon
git-svn-id: svn://10.0.0.236/trunk@231529 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 14:34:05 +00:00
dbaron%dbaron.org
20112c885c Explain another possibility in this debugging printf. DEBUG_CC only.
git-svn-id: svn://10.0.0.236/trunk@229964 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 19:06:10 +00:00
dbaron%dbaron.org
429949f771 Make ExplainLiveExpectedGarbage traverse the suspectCurrent roots, since now that it's more accurate, more graph is always better. b=387005 r=graydon
git-svn-id: svn://10.0.0.236/trunk@229512 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 19:26:44 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
dbaron%dbaron.org
e95ecf0195 Make Fault give more information, #ifdef DEBUG_CC. b=386947 r=graydon
git-svn-id: svn://10.0.0.236/trunk@229389 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 22:38:38 +00:00
dbaron%dbaron.org
dc4a4b6788 In ExplainLiveExpectedGarbage, print only the externally-referenced nodes from which the expected garbage is reachable. b=387005 r=graydon
git-svn-id: svn://10.0.0.236/trunk@229385 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 22:20:16 +00:00
dbaron%dbaron.org
f55fcca279 Make suspectCurrent assertion not fire constantly after we Fault. b=386664 r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@229277 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 21:21:57 +00:00
dbaron%dbaron.org
b5922118bc Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@228880 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 20:41:26 +00:00
dbaron%dbaron.org
4ab26563f4 Fix gcc warning about casting string literal to char*, DEBUG-only.
git-svn-id: svn://10.0.0.236/trunk@228879 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 20:40:52 +00:00
dbaron%dbaron.org
47d4e63026 Keep the purple bit in sync with the purple buffer when suspect and forget calls are dropped on the floor. b=385548 r=graydon
git-svn-id: svn://10.0.0.236/trunk@228860 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 17:51:48 +00:00
dbaron%dbaron.org
56f5e018b9 Back out 385548 to try to fix test orange.
git-svn-id: svn://10.0.0.236/trunk@228823 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 05:26:39 +00:00
dbaron%dbaron.org
c81b5c4ffa Don't set the purple bit when suspect calls are dropped on the floor. b=385548 r=graydon
git-svn-id: svn://10.0.0.236/trunk@228818 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 04:47:40 +00:00
dbaron%dbaron.org
fc6e5d7e2a 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
git-svn-id: svn://10.0.0.236/trunk@228710 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 20:36:24 +00:00
dbaron%dbaron.org
33da035d68 Back out again.
git-svn-id: svn://10.0.0.236/trunk@228563 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 00:30:41 +00:00