Igor Bukanov
7157fe6f93
Bug 743436 - remove XPCJSRuntime::mJSCycleCollectionContext and related code. r=peterv
...
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionJSRuntime::FinishTraverse() empty
in all cases I removed that method as well.
2013-02-27 11:33:12 -08:00
Kyle Huey
ff0332d9f6
Bug 845441: Remove DEBUG_CC. r=mccr8
2013-02-26 13:34:32 -08:00
Olli Pettay
b9ff44f3d6
Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8
2013-01-29 12:45:38 +02:00
Andrew McCreight
c7a0942a52
Bug 690970, part 3: fix black-gray edges in weak containers at start of CC. r=billm
2013-01-08 10:36:51 -08:00
Olli Pettay
e90eafbcc1
Bug 811206, Fix JSHolder drop handling, part 2 (assert), r=mccr8
2012-11-28 02:56:06 +02:00
Olli Pettay
89666eb629
Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8
2012-09-08 13:46:48 +03:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Bill McCloskey
7d80da8a06
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Andrew McCreight
f60cf5170e
Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug
2012-06-27 08:09:56 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Andrew McCreight
074e4f6816
Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
b0785e2034
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Andrew McCreight
046550f9f5
Bug 678615, part 2: remove FinishCycleCollection. r=smaug
2012-04-25 08:10:09 -07:00
Andrew McCreight
95272fb894
Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv
2012-04-25 08:10:09 -07:00
Andrew McCreight
52a170fa63
Bug 744088 - remove nsCycleCollector_getRuntime. r=smaug
2012-04-11 16:50:03 -07:00
Andrew McCreight
c7b949636a
Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug
2012-03-05 13:48:04 -08:00
Andrew McCreight
8457a74978
Bug 697115 - return detailed CC results. r=smaug
2012-02-23 20:16:37 -08:00
Bill McCloskey
6cb04d72a6
Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8)
2012-01-25 10:59:55 -08:00
Luke Wagner
afdd78c326
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
2011-07-18 14:54:48 -07:00
Matt Brubeck
5491d5a546
Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures
2012-01-24 17:32:30 -08:00
Luke Wagner
9912c99d35
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor)
2011-07-18 14:54:48 -07:00
Olli Pettay
29e52f9b4a
Bug 716518 - Add skip* phases to cycle collector, r=mccr8
2012-01-14 18:58:05 +02:00
Terrence Cole
85273c86e9
Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
...
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC. This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.
2011-11-09 18:14:11 -08:00
Luke Wagner
9cd47c906a
Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
2011-07-01 14:11:31 -07:00
Matheus Kerschbaum
44209e0bdf
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Luke Wagner
18e6fcb21c
Backed out changeset 0cf822d12c64 (and dependent be91fb29d950 and 53dd7a930bae) due to intermittent crashes
2011-08-15 17:21:23 -07:00
Luke Wagner
d1a28b2c3e
Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
2011-07-01 14:11:31 -07:00
Bill McCloskey
42f7d0cdaa
Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal)
2011-06-03 13:08:21 -07:00
Ben Turner
36503991ce
Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst
2010-11-11 14:52:30 -08:00
Igor Bukanov
7d3ba2fbb2
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Robert O'Callahan
0b967c5cd5
Fix for bug 466157 (Enable dumping of cycle-collector graphs in any build). r=dbaron, a=jst.
2010-08-12 12:03:23 +12:00
Dão Gottwald
ebdeba2f5a
Backed out changeset a27043cd19ff
2010-08-18 09:46:54 +02:00
Robert O'Callahan
0cc067e777
Bug 497808. Enable dumping of cycle-collector graphs in any debug build. r=peterv,a=blocking
2010-08-12 12:03:23 +12:00
Andreas Gal
c0cd58601c
Support independent cycle collection and garbage collection (573175, r=jst).
2010-07-19 23:31:01 -07:00
Andreas Gal
68d4588900
Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon).
2009-08-19 15:13:02 -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
93197ea6e5
Bug 415025, try to improve CC scheduling, r=peterv, sr=jst
2008-02-25 09:47:25 -08:00
275d63d334
Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron.
2008-01-10 06:10:03 -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
12473d9648
Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
2007-09-23 07:05:27 -07:00
e6d7a42f88
backout patch for Bug 373462, Bug 385322
2007-09-21 03:00:47 -07:00
9dcb41ac02
Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking
2007-09-21 01:54:36 -07:00
c34b8d7505
When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan
2007-08-22 17:47:24 -07:00
39f90b5f53
Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan
2007-08-22 17:46:43 -07:00