Kartikaya Gupta
19ab90c598
Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
...
CLOSED TREE
2013-03-01 10:41:17 -05:00
Ed Morley
ea8b153d1c
Backed out changeset 1eda65741914 (bug 845804) for xpcshell failures on a CLOSED TREE
2013-03-01 17:31:38 +00:00
Kartikaya Gupta
7a6618a4fc
Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
2013-03-01 10:41:17 -05:00
Kartikaya Gupta
5d49765e26
Bug 845342 - Move about:memory and related dump files to the downloads dir on android. r=njn
2013-02-27 08:58:29 -05:00
Kyle Huey
f4f18e6cd9
Bug 845441: Remove DEBUG_CC. r=mccr8
2013-02-26 13:34:32 -08:00
Jonathan Kew
e04415fc7f
backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn
2013-02-22 09:36:41 +00:00
Bill McCloskey
6798be1a0e
Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley)
2013-02-21 18:23:47 -08:00
L. David Baron
4102945342
Bug 790589: Document the MOZ_CC_LOG_DIRECTORY environment variable. r=smaug
2013-02-21 18:10:59 -08:00
Olli Pettay
b2ee14044a
Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8
2013-01-29 12:45:38 +02:00
Bill McCloskey
0b41061a2c
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Nicholas Nethercote
cfabe434d4
Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
...
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Andrew McCreight
ecb75d0a95
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
Nicholas Nethercote
b6939f2c42
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Andrew McCreight
8a45e557f3
Bug 823226 - Add environment variables for controlling cycle collector logging. r=smaug
2012-12-19 14:35:50 -08:00
Neil Rashbrook
d8fe604ecd
Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron
2012-12-22 20:40:37 +00:00
Andrew McCreight
a20a4ea07d
Bug 731853 - Add way to easily log CC with AllTraces at shutdown. r=smaug
2012-09-28 10:11:33 -07:00
Olli Pettay
971bd03b79
Bug 818739, don't run CC during shutdown, r=mccr8
2012-12-14 20:41:11 +02:00
Andrew McCreight
be02b50ec7
Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm
2012-12-03 09:02:57 -08:00
Olli Pettay
79b3761656
Bug 811206, Fix JSHolder drop handling, part 2 (assert), r=mccr8
...
--HG--
extra : rebase_source : e7731c7d1f81e250ea6992e4a15c3dc52bb136d0
2012-11-28 02:56:06 +02:00
Benoit Jacob
03494dfc80
Bug 811212 - Make most cycle collector assertions fatal - r=mccr8
2012-11-15 02:32:39 -05:00
Nicholas Nethercote
8bd3070a4a
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
f41bd071b2
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
bea8356b2c
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Bill McCloskey
0a9fd297da
Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8)
2012-10-17 18:22:46 -07:00
Justin Lebar
b1de9b46c6
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
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Florian Quèze
f5337ac1ee
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
3b8770ecef
Bug 790589 - Add env variable to define the cc/gc log directory, r=mccr8
2012-09-13 09:24:12 +02:00
Olli Pettay
da2e3562f6
Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8
2012-09-08 13:46:48 +03:00
Andrew McCreight
6e474d295c
Bug 785666 - Remove old-style CC Suspect and Forget functions. r=smaug,bsmedberg
2012-08-27 10:28:38 -07:00
Andrew McCreight
671b32897c
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Ryan VanderMeulen
f88b773991
Merge m-c to inbound.
2012-08-24 16:18:09 -04:00
Olli Pettay
5931bf34db
Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8
2012-08-24 12:26:44 -07:00
Ehsan Akhgari
8c296bbcd4
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
6a69e406cb
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
c6c1a8c1c0
Remove some extra trailing semicolons from nsCycleCollector.cpp (no bug)
2012-07-26 11:16:28 -04:00
Bill McCloskey
0dd01290a1
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Andrew McCreight
95a987d18a
Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug
2012-06-27 08:09:56 -07:00
Bill McCloskey
782289afab
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Jeff Walden
fb7e6c0e93
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Andrew McCreight
9731294da3
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07:00
Ehsan Akhgari
b5161f97b8
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
f29e1ac591
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
5e1097e278
Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg
2012-05-25 09:18:30 +02:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
f08ab73a53
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
fe66918d12
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Andrew McCreight
d170aa07e6
Bug 748040 - remove malloc hooks from cycle collector. r=smaug
2012-05-10 07:59:00 -07:00
Andrew McCreight
518dcd29db
Bug 744103, part 5 - Remove remaining langID things from CC. r=smaug
2012-05-03 12:28:11 -07:00