Ryan VanderMeulen
31b5d3335d
Merge m-c to inbound.
2012-08-24 16:18:09 -04:00
Olli Pettay
0a74c76449
Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8
2012-08-24 12:26:44 -07:00
Ehsan Akhgari
e368dc9c85
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
d5b4c64064
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
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
3213a08bd5
Remove some extra trailing semicolons from nsCycleCollector.cpp (no bug)
2012-07-26 11:16:28 -04:00
Bill McCloskey
5ba066f3bb
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Andrew McCreight
ffbaa85872
Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug
2012-06-27 08:09:56 -07:00
Bill McCloskey
db6b5999cb
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Jeff Walden
3b720a666b
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Andrew McCreight
0507cf0146
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07:00
Ehsan Akhgari
df3797a6e7
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
fc7084f564
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
686e870ccd
Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg
2012-05-25 09:18:30 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
60b5d7f292
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
5397f4846a
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Andrew McCreight
90af223342
Bug 748040 - remove malloc hooks from cycle collector. r=smaug
2012-05-10 07:59:00 -07:00
Andrew McCreight
173c5fe9e1
Bug 744103, part 5 - Remove remaining langID things from CC. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
65d7a82313
Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
07f9a7c5cb
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
8f774dbad9
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Andrew McCreight
3c6d6940b4
Bug 744103, part 1 - Store nsCycleCollectionJSRuntime separately. r=smaug
2012-05-03 12:28:10 -07:00
Nicholas Nethercote
43f329dbbd
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Andrew McCreight
e606921b41
Bug 678615, part 2: remove FinishCycleCollection. r=smaug
2012-04-25 08:10:09 -07:00
Andrew McCreight
033fbde830
Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv
2012-04-25 08:10:09 -07:00
Mark Capella
bb0cb90d39
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
...
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Andrew McCreight
291442c9c4
Bug 744088 - remove nsCycleCollector_getRuntime. r=smaug
2012-04-11 16:50:03 -07:00
Andrew McCreight
d1db0b69b9
Bug 738769 - only unmark purple if purple. r=smaug
2012-03-26 09:57:29 -07:00
Hessam Salehi
2bda7efc98
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Andrew McCreight
a13cc9c35d
Bug 736763 - CanSkipInCC when adding roots. r=smaug
2012-03-18 07:17:04 -07:00
Andrew McCreight
488be30e8c
Bug 521853 - Make all cycle collector faults fatal. r=smaug
2012-03-15 21:13:08 -07:00
Andrew McCreight
f578cf1551
Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug
2012-03-05 13:48:04 -08:00
Andrew McCreight
a2b9892187
Bug 730357 - factor out common NoteChild code. r=smaug
2012-02-26 13:18:44 -08:00
Andrew McCreight
d592ecef31
Bug 697115 - return detailed CC results. r=smaug
2012-02-23 20:16:37 -08:00
Andrew McCreight
50124fe16f
Bug 727604 - add release assertions to investigate cycle collector crashes. r=smaug
2012-02-20 12:13:29 -08:00
Olli Pettay
2421420211
Bug 726346 - Implement a version of nsICycleCollectorListener for devtools, r=mccr8
...
--HG--
extra : rebase_source : e0ff9a1bba67eb8efa433f954ac03691252f6bed
2012-02-17 19:35:22 +02:00
Olli Pettay
a19334a3f9
Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8
2012-02-13 22:59:14 +02:00
Andrew McCreight
9d988357ab
Bug 726374 - clean up CC debug timing infrastructure. r=smaug
2012-02-12 08:02:01 -08:00
Andrew McCreight
a3f6bcc6f0
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
92c993fb12
Bug 721794 - add SPS labels for CC entry points. r=smaug
2012-01-31 13:47:47 -08:00
Andrew McCreight
d7371468e7
Bug 721420 - WantAllTraces should disable Skippable CC optimizations. r=smaug
2012-01-29 16:45:08 -08:00
Bill McCloskey
dc52ba7996
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
d85fb51b34
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
...
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Matt Brubeck
193896461a
Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures
2012-01-24 17:32:30 -08:00
Luke Wagner
6068502afa
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor)
2011-07-18 14:54:48 -07:00
Olli Pettay
708edb326d
Bug 718634 - Move CanSkip* to nsCycleCollectionParticipant, r=mccr8
...
--HG--
extra : rebase_source : 7eb8cadf14e2d38d689e74a354d6edee6f7f9d20
2012-01-17 18:32:19 +02:00
Olli Pettay
a10e38916c
Bug 716518 - Add skip* phases to cycle collector, r=mccr8
...
--HG--
extra : rebase_source : c53a42bbbc430384df37d0aeb0d882c09665f672
2012-01-14 18:58:05 +02:00
Ehsan Akhgari
bdde79044d
Bug 714286 followup - Fix the temp path detection code for Windows; r=mccr8
2012-01-03 22:53:30 -05:00
Phil Ringnalda
6b2c365532
Merge mozilla-inbound with mozilla-central
2012-01-01 20:53:49 -08:00