Nicholas Nethercote
ab8ff34585
Bug 808467 - Rewrite the cycle collector's memory reporter. r=mccr8.
...
--HG--
extra : rebase_source : 9944d59772654a1df8db3227f1a8b18ae3dcfeda
2012-11-06 17:38:29 -08:00
Kartikaya Gupta
bfb7aadc3b
Bug 806486 - Instead of setting/unsetting the umask which introduces potential race conditions, chmod the created files instead. r=glandium
2012-10-31 10:20:26 -04:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Bill McCloskey
151b2aba2f
Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8)
2012-10-17 18:22:46 -07:00
Justin Lebar
70048a2062
Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones
2012-10-15 22:12:14 -04:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Florian Quèze
c4fc8b5d9c
Bug 790947 - Show in the error console the path to the dumped memory reports, r=njn,smaug.
2012-09-14 15:47:12 +02:00
Olli Pettay
25d848a912
Bug 790589 - Add env variable to define the cc/gc log directory, r=mccr8
2012-09-13 09:24:12 +02:00
Olli Pettay
db1899be76
Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8
2012-09-08 13:46:48 +03:00
Andrew McCreight
5a7f7d30e1
Bug 785666 - Remove old-style CC Suspect and Forget functions. r=smaug,bsmedberg
2012-08-27 10:28:38 -07:00
Andrew McCreight
fbe861f103
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
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