Justin Lebar
bec33406d9
Bug 819539 - Ignore _Unwind_Backtrace errors on ARM + Android. r=glandium
2012-12-07 17:18:22 -05:00
Mike Hommey
c51f5d814d
Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
...
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Brian Smith
f118bb8b55
Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
...
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification
--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Andrew McCreight
9abc93145e
Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm
2012-12-03 09:02:57 -08:00
Chris Double
47e9ce6db5
Bug 787228 - Part7: Add Android OS Release version to nsSystemInfo - r=doug.turner
...
--HG--
extra : rebase_source : 6d3efadfc03ce2035a9f534e1853cec8527a9a52
2012-11-30 15:38:09 +13:00
Olli Pettay
2e7f4ef4ba
Bug 811206, Fix JSHolder drop handling, part 2 (assert), r=mccr8
...
--HG--
extra : rebase_source : e7731c7d1f81e250ea6992e4a15c3dc52bb136d0
2012-11-28 02:56:06 +02:00
Nicholas Nethercote
c36c92eabb
Bug 811018 - Avoid image double-counting false positive from DMD. r=jlebar.
...
--HG--
extra : rebase_source : 209759e6030ccd119fb036ce10efab7c59c22fab
2012-11-15 14:06:34 -08:00
Benoit Jacob
10ffb47d44
Bug 811212 - Make most cycle collector assertions fatal - r=mccr8
2012-11-15 02:32:39 -05:00
Benoit Jacob
7cc7c472e5
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
6d7beedec6
Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Isaac Aggrey
6058811463
Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan
2012-11-14 13:14:21 -06:00
Ehsan Akhgari
ab48da6035
Backed out changeset da25394a8b55 (bug 802706) for build bustage
2012-11-14 13:24:12 -08:00
Isaac Aggrey
12202e6725
Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan,wtc
2012-11-14 13:14:21 -06:00
Josh Matthews
7d54e6176e
Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer
2012-11-14 16:00:44 +00:00
Gabriele Svelto
fbc8afdb64
Bug 805855 - Free dirty pages in response to all memory-pressure messages. r=jlebar
2012-11-12 17:41:23 +01:00
Nathan Froyd
59037342e2
Bug 809931 - make Static{Auto,Ref}Ptr have trivial constructors and destructors; r=jlebar
2012-11-09 16:48:42 -05:00
Trevor Saunders
9f8abed826
bug 808229 - remove unused NS_ENSURE_ macro and associated success error code r=surkov
2012-11-02 18:36:58 -04:00
Dave Hylands
517cf42c43
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Gabriele Svelto
9e3fdc6388
Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar
2012-11-08 02:07:57 +01:00
Dave Hylands
03c6a6682e
Bug 794599 - Add a preference to disable logging. r=bzbarsky
2012-11-06 22:34:33 -08:00
Dave Hylands
ef2e674639
Bug 794599 - Backout 847cedab81ae due to debug orange
2012-11-07 01:03:52 -08:00
Dave Hylands
192afbdbac
Bug 794599 - Add a preference to disable logging. r=bzbarsky
2012-11-06 22:34:33 -08:00
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
2bceb7136d
Bug 808772 - Adjust Android low-memory platform threshold to 512 MiB. r=blassey
2012-11-06 10:05:18 -05:00
Neil Rashbrook
cd349de7a0
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan
2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
f1d654c74a
Backout 06b998c1100d (bug 664695) due to mochitest-other orange.
2012-11-02 17:12:22 -04:00
Neil Rashbrook
958b1668fa
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg
2012-11-02 20:07:50 +00:00
Justin Lebar
af2be86e6e
Bug 807181 - Add a memory reporter for unique set size (USS), which we'll call "resident-unique". r=njn
...
Patch originally by Vivien Nicolas in bug 802110.
2012-10-31 21:03:30 -04:00
Justin Lebar
9cd57f4799
Bug 805207 - Follow-up: Add guard so KillClearOnShutdown doesn't crash if we haven't ClearOnShutdown'ed any objects. r=me, landed on a CLOSED TREE
2012-10-31 15:19:18 -04:00
Kartikaya Gupta
7acbfada91
Bug 801818 - Add an API to check if the platform is a low-memory one. r=bsmedberg, blassey
2012-10-31 14:59:55 -04:00
Justin Lebar
eabc6a4f19
Bug 805207 - Remove static destructor from ClearOnShutdown. r=bsmedberg
...
This prevents the assertion added in bug 803688 from firing when we do an unclean shutdown.
2012-10-31 13:30:35 -04: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
Masayuki Nakano
7025df1d0e
Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc
2012-10-31 08:22:23 +09:00
Kartikaya Gupta
3f8b30e6af
Bug 806473 - Expose MemoryInfoDumper methods via a nsIMemoryInfoDumper service. r=jlebar
...
--HG--
rename : xpcom/base/MemoryInfoDumper.h => xpcom/base/nsIMemoryInfoDumper.idl
rename : xpcom/base/MemoryInfoDumper.cpp => xpcom/base/nsMemoryInfoDumper.cpp
2012-10-29 20:41:14 -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
Ehsan Akhgari
088b05ec2d
Bug 806209 followup - fix a stupid mistake; irc-r=BenWa
2012-10-29 14:18:14 -04:00
Ehsan Akhgari
4cd8fa878c
Bug 806209 - Prevent the Windows implementation of NS_StackWalk from accessing the stdio APIs in order to avoid deadlocks when profiling on Windows; r=BenWa
...
--HG--
extra : rebase_source : cb945d9d3cb162a1177029a6aa097af33f7c917b
2012-10-29 14:03:01 -04:00
Justin Lebar
1b2b392034
Bug 806239 - When we dump memory reports after minimizing memory usage, we shouldn't also dump the reports before minimizing. r=njn
2012-10-28 20:18:40 -04:00
Justin Lebar
44939db1c5
Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones
2012-10-25 11:36:24 -04:00
Justin Lebar
46036e9207
Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent
2012-10-22 15:40:19 -04:00
Brian Smith
9a21ea4912
Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan
2012-10-18 15:55:48 -04:00
Bill McCloskey
151b2aba2f
Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8)
2012-10-17 18:22:46 -07:00
Mats Palmgren
684b213d2a
Bug 802473 - Make NS_FAILED return 0 or 1 (false/true typed as bool for C++). Use branch prediction macros for NS_FAILED/NS_SUCCEEDED. r=ehsan,bsmedberg
2012-10-18 02:43:06 +02:00
Isaac Aggrey
220c75c473
Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan
2012-10-11 13:16:29 -05:00
Justin Lebar
f09d24441f
Bug 801780 - Part 1: Escape quotes in memory reporter paths when dumping to JSON. r=njn
2012-10-17 10:44:31 -04:00
Nicholas Nethercote
9e9e279e09
Bug 802007 - Remove unneeded Mac-only memory reporters. r=jlebar.
2012-10-15 21:45:54 -07:00
Jacek Caban
447520eee9
Bug 801589 - Avoid redefining ERROR in ErrorList.h when wingdi.h is also included r=ehsan
2012-10-16 11:01:58 +02:00
Justin Lebar
3da0aadb31
Bug 800486 - Part 3: Minor fixups to MemoryInfoDumper.cpp. r=njn
2012-10-15 22:12:14 -04:00
Justin Lebar
4a590b2df4
Bug 800486 - Part 2: Move signal-watching and memory-report-dumping code out of nsMemoryReporterManager and into a new file, MemoryInfoDumper. r=njn
2012-10-15 22:12:14 -04: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
Mark Hammond
7beb8867af
Bug 796526 - stop spewing errors re SysGetModuleInfo64 in debug builds. r=dbaron
2012-10-16 11:26:35 +11:00
Nicholas Nethercote
e844eb7d01
Bug 800187 (part 2) - Add a clarifying comment about memory reporter registration. r=bz.
...
--HG--
extra : rebase_source : 950d0a0bb9a6ffdea94b41ae16f62a407acff6d8
2012-10-11 21:05:42 -07:00
Nicholas Nethercote
3ee916ea11
Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey.
...
--HG--
rename : xpcom/base/dmd.h => tools/dmdv/dmdv.h
2012-10-08 15:31:17 -07:00
Alexander Surkov
50bae428b0
Bug 799909 - decomify Accessible::GetNameInternal, r=tbsaunde
2012-10-14 13:18:39 +09:00
Aryeh Gregor
2ef2b6467b
Bug 779473 - Make nsresult an enum class; r=ehsan
2012-08-02 11:55:58 +03:00
Kartikaya Gupta
28edff0bdf
Bug 799686 - Make about:memory dump file readable on Android. r=njn
2012-10-13 08:54:49 -04:00
Trevor Saunders
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Gian-Carlo Pascutto
155f0a90fc
Bug 799228 - Clean up shellVersion and shellName and their users. r=blassey
2012-10-10 17:10:39 +02:00
Gian-Carlo Pascutto
f6aac7713a
Bug 799228 - Send Android version as OS version for Telemetry. r=blassey
2012-10-10 17:10:39 +02:00
Ehsan Akhgari
6091d8e8a1
Bug 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE
2012-10-09 09:39:32 -04:00
Ehsan Akhgari
ca406822e0
Bug 795238 - Make nsresult a uint32_t enum everywhere that C++11 typed enums are supported; r=Aryeh
2012-10-09 09:23:52 -04:00
Landry Breuil
3e5190ef7b
Bug 788021 followup: cast PR_NOW() to int64_t to fix a build failure on OpenBSD. r=jlebar
2012-10-06 11:03:52 +02:00
Justin Lebar
b28095bf78
Bug 797904 - Include app name in about:memory dump. r=njn,cjones
2012-10-05 17:54:54 -04:00
Nathan Froyd
2a14d9b274
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari
bd2885b68c
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
2012-10-02 23:16:36 -04:00
Nathan Froyd
c2fddb8f07
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Justin Lebar
b252cbe108
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 21:19:11 -04:00
Justin Lebar
84cef96000
Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg
2012-10-02 21:19:11 -04:00
Phil Ringnalda
9823cbba0f
Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes
2012-10-01 23:00:51 -07:00
Justin Lebar
0de944c855
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 00:11:42 -04:00
Justin Lebar
4e15b52df4
Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg
2012-10-02 00:11:42 -04:00
Isaac Aggrey
00ccc3bc2e
Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan
2012-09-30 21:10:22 -05:00
Daniel Holbert
b1f92dd37c
Bug 793580 followup: Fix added comment to be C-style instead of C++-style, to fix build warning for .c files that include nsError.h. rs=Ms2ger (DONTBUILD because comment-only)
2012-09-28 12:34:54 -07:00
Seth Fowler
21dd8087c0
Bug 795086 - Make nsConsoleService only post a LogMessageRunnable to the event queue if there are any observers for it. r=bz
2012-09-28 09:54:36 -07:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Masatoshi Kimura
13e54c9451
Bug 764234 - Implement StringEncoding API. r=dougt,smontagu
2012-09-28 11:19:18 +01:00
Makoto Kato
be6dbb47fe
Bug 793580 - Part 2: give the nsresult enum an explicit type on Win64; r=ehsan
...
--HG--
extra : rebase_source : 072e023d7d880cce5e9e6999fb81ec0f2c29a94c
2012-09-27 14:37:59 +09:00
David Zbarsky
379c616dc0
Fix virtual dtor warning, no bug, blanket r=bz
2012-09-26 14:30:34 -04:00
Aryeh Gregor
93caa9fc7e
Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg
2012-08-07 11:27:45 +03:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Jan Beich
5f24252478
Bug 791366 - Implement Vsize and Resident memory reports on BSDs. r=njn
2012-09-17 18:42:36 -04:00
Jan Beich
591061cd7a
Bug 791366 - Define HAVE_PAGE_FAULT_REPORTERS on every Unix. r=njn
2012-09-17 18:42:36 -04:00
Jeff Muizelaar
9d45f08968
Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
...
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Makoto Kato
6025716d17
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04: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
Nicholas Nethercote
d72524cd51
Bug 768470 - Add ability to import/export memory reports as JSON. r=jlebar.
...
--HG--
extra : rebase_source : 8e03a7e8c82204ea8e353a9ba583c4d53917a267
2012-08-27 18:14:14 -07:00
Justin Lebar
b4d77fc8e0
Bug 788546 - In our stack-walking code, instead of asserting that we're initialized and failing if we're not, go ahead and initialize ourself when necessary. r=espindola
2012-09-10 15:51:45 -04:00
Chris Peterson
5ad6ebfc11
Bug 789643 - Fix GetCOMPtrCount() defined but not used
warning. r=bsmedberg
2012-09-07 12:32:33 -07: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
Ehsan Akhgari
f4a93b7422
Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
...
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
Ehsan Akhgari
f75e672ac4
Bug 788014 - Part 1: Define nsrefcnt to be unsigned long unconditionally on Windows; r=jrmuizel
...
On Windows, IUknown::AddRef and IUnknown::Release are defined to
return ULONG, which is defined as unsigned long. The existing
code relies on the PR_BYTES_PER_LONG macro which is #defined in
prtypes.h to always be 4 on Windows. If we remove the prtypes.h
inclusion from nscore.h, in the places where prtypes.h is not
included by other things, we will fall into the other path in the
#ifdef condition which defines nsrefcnt to be unsigned int, which
causes the signature of AddRef and Release to change, which
results in linker errors.
There are a couple of reasons why this change is correct:
1. On both Win32 and Win64, the size of the long type is 4 bytes,
always. And prtypes.h doesn't detect the size of longs, it just
assumes it, so this check is really a tautology.
2. If the size of the long type changes on Windows, sometime,
the return value of AddRef and Release on Windows should change
size as well in order to maintain binary compatibility with
IUnknown, and before this change, the code would fail to hold
that promise.
--HG--
extra : rebase_source : 8333582b494aaca17c91cf35287a084083219050
2012-09-07 15:09:01 -04:00
Aryeh Gregor
291bfa222b
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04: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
Gian-Carlo Pascutto
1099676e48
Bug 779687 - Add detection for ARMv7 CPUs. r=dougt
2012-08-21 13:20:46 +02:00
Andrew McCreight
d0e1cf9ab3
Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug
...
This argument isn't used, and would have to have its type changed
to support native purple buffer participants, so we just remove it.
2012-08-24 09:50:06 -07: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
Andrew McCreight
56b160f693
Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
...
All CC classes are potentially cycle collectable, so we need
to implement this function on the participant for all CC classes.
2012-08-24 09:50:06 -07:00
Aryeh Gregor
31b517948c
Bug 768865 - Make NS_SUCCEEDED/NS_FAILED always inline functions for C++; r=bsmedberg
2012-06-27 17:54:01 +03:00
Aryeh Gregor
cafad5fcb5
Bug 782252 - Cast some nsresult to PRUint32; r=ehsan
2012-08-09 11:36:40 +03:00
Ehsan Akhgari
a09e69cee0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Aryeh Gregor
a88ffe5c80
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Rafael Ávila de Espíndola
9c483afff4
Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
...
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Jan Beich
4733ffae7d
Bug 781457 - Define _GNU_SOURCE for _Unwind_Backtrace. r=dbaron
2012-08-10 11:29:59 -04:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Ms2ger
5f4593aa2e
Bug 780387 - Part e: Stop using PRSize; r=bsmedberg
2012-08-09 09:10:11 +02:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Jim Mathies
f0487b898d
Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil.
2012-08-06 15:41:40 -05:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Chris Peterson
009018e502
Bug 777511 - #define nullptr __null for gcc <= 4.5. r=ehsan
...
--HG--
extra : rebase_source : dd24e15d4b271d7ae1f604b6d7e4d0e76f614f40
2012-07-26 15:29:18 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Justin Lebar
ff4612a6ed
Bug 772987 - Part 3: Update comment in ClearOnShutdown. r=glandium
...
--HG--
extra : rebase_source : 06b3e9339f87ae3feaf522955ff12e549039bf3b
2012-07-26 15:33:45 -04:00
Justin Lebar
b019de5fa4
Bug 772987 - Part 1: Add Static{Auto,Ref}Ptr. r=bsmedberg
...
--HG--
extra : rebase_source : edd65e1f5d69564b9632072db914b95bdf768dae
2012-07-26 15:33:45 -04:00
Ehsan Akhgari
e2b29878fa
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 (more xpcom parts); blanket-r=bzbarsky
...
--HG--
extra : rebase_source : 95e35fda5738d92b0c8d79920494ecba05c7ea04
2012-07-26 15:17:41 -04:00
Ehsan Akhgari
3213a08bd5
Remove some extra trailing semicolons from nsCycleCollector.cpp (no bug)
2012-07-26 11:16:28 -04:00
Brian R. Bondy
21c143f097
Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg
2012-07-25 10:23:26 -04:00
Joshua Cranmer
497e7cd9bb
Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
...
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
a1186c1020
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Joshua Cranmer
d539846cab
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Aryeh Gregor
65eef91085
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Makoto Kato
bc868ccf9a
Bug 771401 - Change PRTime in IDL to signed long long. r=bholley sr=bsmedberg
2012-07-19 18:53:30 +09:00
Rafael Ávila de Espíndola
2295430def
Bug 774018 - Remove extra ;. r=khuey.
2012-07-15 00:09:35 -04:00
Honza Bambas
356f7e8cc6
Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg
2012-07-11 20:20:17 +02:00
Ryan VanderMeulen
13fc9bf9b8
Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange.
2012-07-10 19:21:54 -04:00
Honza Bambas
cf912de8e4
Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg
2012-07-10 23:49:18 +02:00
Benoit Girard
6640c590c3
Bug 766579 - Part 3: Follow up fix. r=dbaron
2012-07-10 17:39:10 -04:00
Benoit Girard
325b77e999
Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
...
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Ehsan Akhgari
617bcfa1a1
Bug 767479 - Handle the case of more than 1024 frames when walking the stack of another thread on Windows, and also use the infallible allocator when walking the stack of your own thread; r=dbaron
2012-06-22 16:31:59 -04:00
Ehsan Akhgari
105492776f
Bug 767488 - Cache the current process handle after reading it for the first time during stack walking; r=dbaron
...
The current process handle never changes, so it doesn't make a lot of sense
to read it over and over again. Note that this doesn't close the process
handle explicitly but that's fine, since Windows will release all of the
open handles when the application is terminated.
2012-06-22 17:48:31 -04:00
Vicamo Yang
69607e384f
Bug 771048: fix typo in nsAutoRef::swap, r=khuey
2012-07-10 00:19:59 +08:00
Jeff Muizelaar
cd56fffd20
Bug 771317. Fix comment about FASTCALL and inline functions. r=espindola
...
Calling convention does not make a difference on functions that are inlined,
but that feels obvious because no call is being made. Inline functions are not
necessarily inlined so this comment is somewhat misleading.
--HG--
extra : rebase_source : f634f18d1a6669147f53162a7bc0ab08b145cc43
2012-07-05 17:38:30 -04:00
Rafael Ávila de Espíndola
bc46f77176
Bug 732173 - poison write during shutdown in a debug build. r=ted.
...
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Bill McCloskey
5ba066f3bb
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Vladan Djeric
2e4f27310a
Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud
2012-06-28 14:57:52 -04: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
Nicholas Nethercote
e23d7588a7
Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
...
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
7a6a991007
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Ehsan Akhgari
205eff8cdd
Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg
2012-06-19 18:23:35 -04:00
Mike Hommey
b95d1d1421
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Jeff Walden
3b720a666b
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Martin Stransky
2e3eaebbc4
Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg
2012-06-16 18:05:00 +12:00
Mike Hommey
cc362780fd
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
e76a671d8e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Nathan Froyd
70bf86d653
Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn
2012-06-14 16:29:00 -04:00
Mike Hommey
bda3a28b5d
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Honza Bambas
a07c8267df
Bug 729182 - Followup - MPL2 headers, r=Ms2ger
2012-06-13 17:35:31 +02:00
Nicholas Nethercote
4fd9fd2bdf
Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
...
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
Nicholas Nethercote
a9106b5cbe
Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
...
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Daniel Holbert
a30ffe2e4d
Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug
2012-06-14 15:26:04 -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
fd7f8a3858
Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan
2012-06-12 19:06:21 +02: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
Jan Varga
513c660911
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Nathan Froyd
2bfe6472eb
Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar
2012-05-30 15:11:58 -04:00
Ms2ger
65aa2a4593
Merge m-c to m-i.
2012-05-25 11:15:32 +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
Oleg Romashin
98f9df6c9e
Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle
2012-05-19 11:31:17 -04:00
Nicholas Nethercote
9976c1f421
Bug 755583 (part 4) - Split up the smaps/ memory reporter tree. r=jlebar.
2012-05-16 20:43:36 -07:00
Justin Lebar
23019e4123
Bug 757924 - Register the heap-committed-unused memory reporter. r=khuey
...
--HG--
extra : rebase_source : dc4eddd09b2d074e830ec153af4a5ff4bb8b7a3a
2012-05-24 11:10:58 -04: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
Justin Lebar
1dff62b86c
Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
...
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Justin Lebar
aff6d429ca
Bug 742849 - Disable AvailableMemoryTracker for 64-bit Windows processes. r=bsmedberg
2012-04-30 12:18:48 -04:00
Nicholas Nethercote
b954a09a35
Bug 744311 (part 2) - Don't use -1 to represent "unknown" in memory reporters. r=jlebar.
...
--HG--
extra : rebase_source : 8f726aef17e5b814f5b740b453c9a67a1ef7646d
2012-04-11 19:38:31 -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
Ehsan Akhgari
166aca09f9
Merge mozilla-central into mozilla-inbound
2012-04-24 21:29:44 -04:00
Patrick Wong
4ccd1d2fbb
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Peng Kang
3998834626
Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg
2012-04-18 23:22:29 -04:00
Ehsan Akhgari
443e8334a9
Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage
2012-04-18 17:05:06 -04:00
Peng Kang
07a23d4ade
Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg
2012-04-18 16:31:59 -04:00
Ms2ger
6a4d885b40
Bug 744347 - Remove last traces of EventException; r=smaug
2012-04-14 14:57:07 +02:00
Ms2ger
77ca860259
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
2009883804
Bug 744347 - Remove last traces of EventException; r=smaug
2012-04-14 14:57:07 +02: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
Justin Lebar
ec87e5bf0c
Bug 743786 - Add IsMainThread assertions to ClearOnShutdown. r=bmsedberg
2012-04-10 15:58:10 -04:00
Justin Lebar
c5b2e91dc3
Bug 724072 - If using a content process, display the pid and "parent"/"child" along with each NS_WARNING. r=bsmedberg
...
--HG--
extra : rebase_source : e50670c28aa95de347ce68efaebb84c9682b2c36
2012-04-10 15:57:20 -04:00
Justin Lebar
7bfb741688
Bug 741540 - Add AvailableMemoryTracker's hooks before any threads have started up. r=bsmedberg
...
--HG--
extra : rebase_source : 5135df39b3ae022e75f8651b2e10a378edbae158
2012-04-09 13:53:08 -04:00
Mike Hommey
609e12c771
Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey
2012-04-05 09:20:53 +02:00
Veeraya Pupatwibul
344b2b1753
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Justin Lebar
31cebc2b87
Bug 738624 - Add ghost windows to about:compartments. r=njn
...
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Mark Capella
bfa59371ce
Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden
2012-04-02 17:21:24 -07:00
Matt Brubeck
6113f7efa8
Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
...
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00