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
peterv%propagandism.org
a0ddff3e86
Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
...
git-svn-id: svn://10.0.0.236/trunk@238286 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 13:45:10 +00:00
peterv%propagandism.org
916fca8f47
Backing out once more to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@238262 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 12:49:33 +00:00
peterv%propagandism.org
dbbdaa7c7f
Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
...
git-svn-id: svn://10.0.0.236/trunk@238261 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 11:14:43 +00:00
peterv%propagandism.org
0777c3b24f
Backing out to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@238205 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 14:15:29 +00:00
peterv%propagandism.org
8e9fd20749
Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
...
git-svn-id: svn://10.0.0.236/trunk@238201 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 13:25:35 +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
jag%tty.nl
6f53ddc9bb
Fix bustage from previous checkin for bug 392055. Move #define of XPCOM_GLUE_AVOID_NSPR from nsISupportsImpl.h to nscore.h. r/a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@236872 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 20:33:33 +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
0063483d40
Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change
...
git-svn-id: svn://10.0.0.236/trunk@233983 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 22:31:12 +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
bent.mozilla%gmail.com
67df6870e5
Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@233253 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 23:37:22 +00:00
dbaron%dbaron.org
b91c136b30
Back out a small part of bug 391848 to fix bustage for some people (and add a comment warning about the problem).
...
git-svn-id: svn://10.0.0.236/trunk@233191 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 05:42:25 +00:00
dbaron%dbaron.org
36c6a6af01
Do stack walking on a single thread to avoid deadlocks during thread creation. b=391321 r=robarnold@mozilla.com sr=jmathies@mozilla.com (delegated by bsmedberg) a1.9=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@233190 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 05:42:04 +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
bzbarsky%mit.edu
c929b7fe04
Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00
dbaron%dbaron.org
8844ee8553
Allow builds compiled with VC8 to function with older versions of dbghelp.dll. b=391848 r+a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@232351 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-19 21:38:31 +00:00
dbaron%dbaron.org
d8f902eb99
Debugging code and cleanup from fixing Windows stack traces to work on VC8-compiled builds in addition to VC7.1-compiled builds. b=391848 r=bsmedberg a=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@232350 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-19 21:37:55 +00:00
dbaron%dbaron.org
a4e22967e1
Enable Linux stack walking code on Mac OS X. b=336517 r+a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@232183 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 00:03:29 +00:00
dbaron%dbaron.org
0553265268
Include file name and line number in Windows stack traces. b=391850 r+a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@232044 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 16:34:32 +00:00
dbaron%dbaron.org
ba6149a3ab
Merge nsStackFrameWin and nsStackFrameUnix into nsStackWalk. b=391793 r+a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@231970 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 19:37:36 +00:00
dbaron%dbaron.org
d7487e5e64
Remove nsTraceRefcnt::LoadLibrarySymbols, which is no longer needed due to the error handling in SymGetModuleInfoEspecial. b=391793 r+a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@231969 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 19:36:57 +00:00
ginn.chen%sun.com
24f0647740
Bug 374689 Fix build issues
...
r+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231952 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 05:29:55 +00:00
dbaron%dbaron.org
d9000559b5
Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@231867 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 22:20:49 +00:00
dbaron%dbaron.org
af2cfceaff
Split the address->symbol mapping from the rest of the stack walking code. b=374829 r=bsmedberg a=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@231859 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:32:50 +00:00
dbaron%dbaron.org
82477775ec
Export a stack walking API (usable from C or C++) from XPCOM. b=374689 r=bsmedberg a=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@231858 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:32:49 +00:00
bzbarsky%mit.edu
339075864e
Add a stack-and-abort value of XPCOM_DEBUG_BREAK
...
git-svn-id: svn://10.0.0.236/trunk@231837 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 19:42:58 +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
dcamp%mozilla.com
2c8be0d039
Add an API to access <input type="file"> data. b=371432, r=smontagu (for charset stuff), r+sr=jonas
...
git-svn-id: svn://10.0.0.236/trunk@230905 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 04:29:49 +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
neil%parkwaycc.co.uk
998c53a562
Followup to bug 348748 to fix the alignment of trailing backslashes in macros
...
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +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