Olli Pettay
bc757bd5bd
Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8
2012-08-24 12:26:44 -07: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
Andrew McCreight
ea5722baee
Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug
...
We add a new field to purple buffer entries, to store the participant for
non-nsISupports classes. For nsISupports, we store NULL instead. The participant
has to be passed into Suspect2.
In the cycle collector itself, we generalize canonicalization to handle the
possibility that we can just grab the participant directly from a field,
rather than needing to QI something.
Most of the patch is just routing around this extra pointer.
2012-08-24 09:50:06 -07:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
363f650888
Remove some extra trailing semicolons from nsCycleCollector.cpp (no bug)
2012-07-26 11:16:28 -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
Bill McCloskey
8de64873c1
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Jeff Walden
7f5e65450b
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Andrew McCreight
3172e298c8
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07:00
Ehsan Akhgari
6c1914b71f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Honza Bambas
1415b7fdef
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Ms2ger
e848a8c034
Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg
2012-05-25 09:18:30 +02:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
a652a86ab9
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
3a5b10b99f
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Andrew McCreight
d4690cdaa5
Bug 748040 - remove malloc hooks from cycle collector. r=smaug
2012-05-10 07:59:00 -07:00
Andrew McCreight
6f1fa12928
Bug 744103, part 5 - Remove remaining langID things from CC. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
074e4f6816
Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
066e94ef07
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. 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
bd76da3bba
Bug 744103, part 1 - Store nsCycleCollectionJSRuntime separately. r=smaug
2012-05-03 12:28:10 -07:00
Nicholas Nethercote
53ffe0d1c1
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
2012-04-09 22:52:33 -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
Mark Capella
0ae5c580ff
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
2012-04-11 17:17:44 -07:00
Andrew McCreight
52a170fa63
Bug 744088 - remove nsCycleCollector_getRuntime. r=smaug
2012-04-11 16:50:03 -07:00
Andrew McCreight
437c70ebb8
Bug 738769 - only unmark purple if purple. r=smaug
2012-03-26 09:57:29 -07:00
Hessam Salehi
a64cc02b3f
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Andrew McCreight
91af7b584d
Bug 736763 - CanSkipInCC when adding roots. r=smaug
2012-03-18 07:17:04 -07:00
Andrew McCreight
578337e5c5
Bug 521853 - Make all cycle collector faults fatal. r=smaug
2012-03-15 21:13:08 -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
0944b89d1a
Bug 730357 - factor out common NoteChild code. r=smaug
2012-02-26 13:18:44 -08:00
Andrew McCreight
8457a74978
Bug 697115 - return detailed CC results. r=smaug
2012-02-23 20:16:37 -08:00
Andrew McCreight
0702076a82
Bug 727604 - add release assertions to investigate cycle collector crashes. r=smaug
2012-02-20 12:13:29 -08:00
Olli Pettay
eed2ac7d77
Bug 726346 - Implement a version of nsICycleCollectorListener for devtools, r=mccr8
2012-02-17 19:35:22 +02:00
Olli Pettay
174c8cd9a0
Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8
2012-02-13 22:59:14 +02:00
Andrew McCreight
244b112613
Bug 726374 - clean up CC debug timing infrastructure. r=smaug
2012-02-12 08:02:01 -08:00
Andrew McCreight
d6fc74bb61
Bug 696174 - Log JS heap at the same time as CC heap. r=bholley,smaug
2012-02-02 16:32:30 -08:00
Andrew McCreight
a87702a434
Bug 721794 - add SPS labels for CC entry points. r=smaug
2012-01-31 13:47:47 -08:00
Andrew McCreight
ba7bc6984f
Bug 721420 - WantAllTraces should disable Skippable CC optimizations. r=smaug
2012-01-29 16:45:08 -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
397a037440
Bug 718634 - Move CanSkip* to nsCycleCollectionParticipant, r=mccr8
2012-01-17 18:32:19 +02:00
Olli Pettay
29e52f9b4a
Bug 716518 - Add skip* phases to cycle collector, r=mccr8
2012-01-14 18:58:05 +02:00
Ehsan Akhgari
51ca65925b
Bug 714286 followup - Fix the temp path detection code for Windows; r=mccr8
2012-01-03 22:53:30 -05:00
Phil Ringnalda
ff2b4777bc
Merge mozilla-inbound with mozilla-central
2012-01-01 20:53:49 -08:00
Olli Pettay
fc49f82e03
Bug 713778 - nsICycleCollectorListener should not enable trace_all by default, r=mccr8
2012-01-01 23:48:42 +02:00