Andrew McCreight
d1cecbd6d3
Bug 981033 - Clear mActivelyCollecting before restarting CC. r=smaug
2014-03-11 07:34:35 -07:00
Nathan Froyd
55d21df2d1
Bug 677653 - part 2 - add a memory reporter for vorbis-related allocations; r=njn
2014-02-25 11:04:50 -05:00
Robert O'Callahan
b55ef8f1e3
Bug 955888. Part 8: In chaos mode, vary timer duration (while respecting order of firing). r=bz
...
We also ensure that the mean timer duration is unchanged.
--HG--
extra : rebase_source : 21a43c2c6a0f677263464b8a23c5f605e36b9d06
2014-03-03 18:12:51 +13:00
Robert O'Callahan
307d25aad5
Bug 955888. Part 7: In chaos mode, start hashtable iteration at a random entry. r=jorendorff
...
--HG--
extra : rebase_source : f7e5208595171b0a7d58d9b8a91bc91a40725079
2014-03-03 18:12:46 +13:00
Robert O'Callahan
c1eb739da7
Bug 955888. Part 3: In chaos mode, give threads randomly chosen priorities, and pin some threads to CPU 0 so they compete for CPU. r=bsmedberg
...
--HG--
extra : rebase_source : 77201ddade499250cbc81b6a582ce29a970c4a2a
2014-03-03 18:12:27 +13:00
Robert O'Callahan
9ad63960bd
Bug 955888. Part 2: In chaos mode, sometimes yield just before dispatching an XPCOM event. r=bsmedberg
...
This gives other threads a chance to beat us in a race to dispatch an event to
this event queue.
--HG--
extra : rebase_source : ca19bb52281837762bce43481b3393cd2ecf6679
2014-03-03 18:12:23 +13:00
Masatoshi Kimura
5b26a9e31e
Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey
2014-03-07 20:51:51 +09:00
Ryan VanderMeulen
a82c72c6ca
Merge m-c to inbound on a CLOSED TREE.
2014-03-05 16:08:02 -05:00
Yuan Xulei
260442ce9a
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Jed Davis
6a4c4691a0
Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
...
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Ehsan Akhgari
bf09c6f469
Bug 976896 - Port STL_FLAGS to moz.build; r=mshal
2014-03-04 19:39:06 -05:00
Andrew McCreight
bb417adcd3
Bug 978486 - Remove nsErrorService::mErrorStringBundleKeyMap. r=froydnj
2014-03-04 09:49:40 -08:00
Ehsan Akhgari
b49ab8c371
Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
...
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Jan Beich
c35dd65bb1
Bug 975634 - Detect posix_fadvise() via configure. r=glandium
2014-03-04 09:30:29 -05:00
Bobby Holley
a52c7e5aa2
Bug 975419 - Add a JS::TenuredHeap<JSObject*> overload to TraceCallbacks. r=mccr8,terrence
2014-03-03 08:53:42 -08:00
Jan Beich
90ced12417
Bug 977457 - Move _GNU_SOURCE ifdef a little up to account for cxxabi.h from libcxxrt. r=ehsan
2014-03-03 10:29:08 -05:00
Wes Kocher
e6edfe65f4
Backed out 6 changesets (bug 976648) for android x86 bustage on a CLOSED TREE
...
Backed out changeset 18f113ab1a35 (bug 976648)
Backed out changeset 3f0f28593331 (bug 976648)
Backed out changeset 2789ef4e1223 (bug 976648)
Backed out changeset 4a5fff440cb5 (bug 976648)
Backed out changeset 94ec75013788 (bug 976648)
Backed out changeset 084e0311ff2a (bug 976648)
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s
2014-02-28 15:40:22 -08:00
Ulrich Weigand
b004c116cf
Bug 976648 - xptcall port for powerpc64le-linux support. r=froydnj
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
2014-02-28 09:56:43 -05:00
Aaron Klotz
7d472d407f
Bug 978177: Modify PoisonIOInterposerWin functions that accept UNICODE_STRING to use nsDependentSubstring instead of nsDependentString; r=bsmedberg
...
--HG--
extra : rebase_source : 2a7cf2876b29eed21b069e11c153cafc52baaf1a
2014-02-28 13:12:38 -07:00
Andrew McCreight
59f6206562
Bug 977688 - Get rid of CC_AbortIfNull. r=smaug
2014-02-28 09:56:23 -08:00
Andrew McCreight
8e1830277d
Bug 977260, part 2 - Use more macros for CC nsDOMCameraControl stuff. r=smaug
...
Use more powerful macros for nsDOMCameraControl
2014-02-28 09:56:23 -08:00
Ed Morley
6d8191efe0
Backed out changeset 5599e2798ee3 (bug 976648)
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s
2014-02-28 15:30:37 +00:00
Ulrich Weigand
82ad5fef2f
Bug 976648 - xptcall port for powerpc64le-linux support. r=froydnj
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
2014-02-28 09:56:43 -05:00
Masatoshi Kimura
90aff37f46
Bug 972761 - Move WindowsVersion.h to MFBT. r=froydnj
...
--HG--
rename : xpcom/base/WindowsVersion.h => mfbt/WindowsVersion.h
2014-02-28 07:58:47 +09:00
Andrew McCreight
73d145ab5a
Bug 975037, part 3 - Remove trailing whitespace from nsPersistentProperties. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
a7e617fdb7
Bug 975037, part 2 - Use smart pointers in nsPersistentProperties. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
9e68489042
Bug 975037, part 1 - Inline nsPersistentProperties::Init. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
537eb6fa81
Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug
2014-02-27 10:04:09 -08:00
Simon Montagu
4f04d50a82
Add ReplaceChars with a char16_t array. Bug 979556, r=bsmedberg
2014-03-05 21:04:36 +02:00
Ulrich Weigand
7cbf837d2a
Bug 976648 - xptcall port for powerpc64le-linux support. r=froydnj
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
2014-02-28 09:56:43 -05:00
Ryan VanderMeulen
760e2a311f
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
Jim Chen
c0bbc1ba1f
Bug 978262 - Ignore duplicate frames when getting BHR stack. r=froydnj
2014-03-05 08:47:46 -05:00
snigdha
ef5d7c4e73
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Andrew McCreight
1b4258e0b5
Bug 984008, part 4 - Remove nsISupportsKey. r=froydnj
2014-03-17 10:21:26 -07:00
Gregory Szorc
3882233eee
Bug 875562 - Part 8b: Update UUID of nsICrashReporter; r=me
...
CLOSED TREE
--HG--
extra : amend_source : 4b655b3a88d0e804bb5372297ccf342b1509c344
2014-02-26 20:57:57 -08:00
Gregory Szorc
4c4a4b3468
Bug 875562 - Part 8: Write crash events for main process crashes; r=bsmedberg
...
This patch makes the crash reporter crash event directory aware and
writes main process crash event files at crash time.
--HG--
extra : rebase_source : 1d6a817ae401230b3fe8fcd236468ceb3e309a10
2014-02-18 15:58:03 -08:00
Ehsan Akhgari
c1161b6e9c
Bug 975731 - Move some CXXFLAGS variables in xpcom/reflect/xptcall/src/md/unix/Makefile.in to moz.build; r=mshal
2014-02-26 21:37:19 -05:00
L. David Baron
2b5d6b3cfb
Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
...
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.
The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.
--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
L. David Baron
4f04bcdc57
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Andrew McCreight
328968900f
Bug 975849 - Remove overly strict assertion from CycleCollectedJSRuntime::TraverseRoots to restore previous behavior. r=smaug
2014-02-26 13:18:17 -08:00
Marcin Juszkiewicz
c7ac1e1465
Bug 963024 - AArch64 support for XPCOM. r=froydnj
2014-02-26 13:43:16 -05:00
Gabriele Svelto
b7270f6ca1
Bug 975434 - Remove the ability to cancel memory minimizations. r=njn
2014-02-25 16:37:30 +01:00
Ted Mielczarek
3a3ada1928
Bug 972555 - Add more things to nsIXULRuntime so we can avoid preprocessing some tests. r=bsmedberg
2014-02-19 09:20:02 -05:00
Nathan Froyd
a6e810d1ba
Bug 976161 - delete dead NSCAP_DISABLE_TEST_DONTQUERY_CASES code; r=bsmedberg
2014-02-24 13:02:43 -05:00
Ehsan Akhgari
e9da09b721
Backed out changeset 8d8165293e9b (bug 976372) because of Windows debug bustage on a CLOSED TREE
2014-02-24 23:01:54 -05:00
Ehsan Akhgari
a196505a83
Backed out changeset f74c9326b89c (bug 976247) because I landed the wrong patch :(
2014-02-24 21:07:37 -05:00
Ehsan Akhgari
5616d30270
Bug 976372 - Remove support for compilers which lack support for dynamic_cast<void*>; r=dbaron
...
--HG--
extra : rebase_source : 83a23e3b8fa4462eb70a1844b555c7605162a497
2014-02-24 21:06:06 -05:00
Ehsan Akhgari
98a137f278
Bug 976247 - Remove a useless static keyword from mozilla::detail::DEAD; r=froydnj
...
--HG--
extra : rebase_source : e73444ec000f1e867651d39cf2aa6beaf88bf4f3
2014-02-24 19:37:34 -05:00
Andrew McCreight
b9a671d070
Bug 967929 - Remove nsSupportsHashtable. r=bsmedberg
2014-02-24 17:16:11 -08:00
Andrew McCreight
1dffbd4c37
Bug 975223, part 2 - Add nsRefPtrHashtable::Remove that also does a Get. r=froydnj
2014-02-24 17:16:10 -08:00
Andrew McCreight
53553af24f
Bug 975223, part 1 - Make braces less weird in nsRefPtrHashtable. r=froydnj
2014-02-24 17:16:10 -08:00
L. David Baron
f6e4eec730
Bug 975295 patch 2: Remove the nsITraceRefcnt interface and any instantiation of the nsTraceRefcntImpl object. r=bsmedberg
2014-02-24 15:27:53 -08:00
L. David Baron
de799e0b4f
Bug 975295 patch 1: Remove class nsTraceRefcnt, which is unused. r=bsmedberg
2014-02-24 15:27:53 -08:00
L. David Baron
6f9a5e5e60
Bug 939610: Return to printing stack walk addresses in uppercase hexidecimal rather than lowercase, since we have scripts depending on it. r=ted
2014-02-24 15:27:52 -08:00
Terrence Cole
cedc05a6bc
Bug 956081 - Fix the CC's GC-has-been-run detection in the presence of GGC; r=mccr8
...
--HG--
extra : rebase_source : de945b8e2f4972cb8b563f17a95c66cbba86a902
2014-02-20 13:38:32 -08:00
Ehsan Akhgari
f4ddde0564
Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj
2014-02-21 14:45:50 -05:00
Chris Peterson
62f1c3dc89
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8
2014-02-17 22:10:50 -08:00
Ehsan Akhgari
0f5851acbd
Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 23:07:24 -05:00
Ehsan Akhgari
8212be10db
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
Andrew McCreight
abda47e08d
Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug
2014-02-20 14:27:04 -08:00
Andrew McCreight
3764cf8b93
Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug
2014-02-20 14:27:03 -08:00
Andrew McCreight
1327a45957
Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug,njn
2014-02-20 14:27:03 -08:00
Trevor Saunders
89a85e0a36
bug 826481 - mark PrepareAndDispatch() as __attribute__((used)) when building with gcc or clang r=froydnj
2014-01-17 16:17:20 -05:00
Andrew McCreight
57d072a733
Back out bug 712939 for not getting fully reviewed.
2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
eb4db46127
Bug 971094 - Part 1: During shutdown, tell the profiler that the main thread JSRuntime is gone even if we leak. r=BenWa, r=bholley
2014-02-20 08:43:55 -05:00
Chris Peterson
065c214bf6
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Andrew McCreight
9ff86c6b97
Backout bug 972940 for valgrind leaks on this CLOSED TREE
2014-02-19 17:20:48 -08:00
Andrew McCreight
1ee530c7ef
Backout bug 901597 for valgrind leaks
2014-02-19 17:19:17 -08:00
Andrew McCreight
607b39da48
Backout bug 901597 for valgrind leaks
2014-02-19 17:18:59 -08:00
Andrew McCreight
957e5efc44
Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug
2014-02-19 13:27:15 -08:00
Andrew McCreight
907bd71895
Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug
2014-02-19 13:27:14 -08:00
Andrew McCreight
f14269e5fc
Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug
2014-02-19 13:27:14 -08:00
Sebastian Hengst
82795d3f96
Bug 974486 - Remove unused OS/2 special directories. r=jimm
2014-02-19 20:24:55 +01:00
Ulrich Weigand
8233aa73ca
Bug 973977 - Mark SharedStub hidden to fix ppc64 build failure. r=froydnj
2014-02-19 15:55:28 -05:00
Eric Rahm
ac835c5e28
Bug 972170 - Add zram reporting to about:memory. r=njn
2014-02-19 11:08:38 -08:00
Daniel Holbert
f006e77f71
Bug 974300: Mark /xpcom/threads as FAIL_ON_WARNINGS. r=froydnj
2014-02-19 08:36:37 -08:00
Brian Hackett
cae987d2a2
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Ehsan Akhgari
df7ee3d481
Bug 969864 - Make nsTArray::SetLength return void; r=froydnj
2014-02-19 08:27:15 -05:00
Daniel Holbert
84283bddce
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
12d33949d5
Bug 973795 - Fix -Wreorder and -Wsign-compare warnings in nsThreadPool.cpp. r=bsmedberg
2014-02-17 23:11:56 -08:00
Chris Peterson
ae4ab82a1d
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Phil Ringnalda
c5b3dd9f40
Back out f59bb340e3e6 (bug 826481) for Android build bustage
...
CLOSED TREE
2014-02-18 20:34:10 -08:00
Trevor Saunders
d10e07e915
bug 826481 - mark PrepareAndDispatch() as __attribute__((used)) when building with gcc or clang r=froydnj
2014-01-17 16:17:20 -05:00
Nathan Froyd
03e91b653f
Backout 14dc29b1586b (bug 963024) for landing only part of the patch; DONTBUILD because NPOTB
2014-02-18 16:43:12 -05:00
Marcin Juszkiewicz
0b9164f4cd
Bug 963024 - AArch64 support for XPCOM. r=froydnj
2014-02-18 15:41:22 -05:00
James Kitchener
faf522b628
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2014-02-03 22:57:56 +10:30
Justin Shrake
cbce9ed07f
Bug 972038 - Replace calls to GetMessageMoz with ToString to save callers from having to convert to UTF-8. r=jimm
2014-02-18 09:47:54 -05:00
Ehsan Akhgari
741e1ab301
Bug 973388 - Move the LOCAL_INCLUDES in xpcom to moz.build; r=glandium
2014-02-18 09:01:06 -05:00
Ehsan Akhgari
7b16802ce4
Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
...
It's just as easy to directly set the preprocessor macro in the moz.build
files. Using this variable doesn't really buy us anything.
This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Chris Pearce
b7ed5c7bc7
Bug 968016 - Add threadStackSize attribute to nsIThreadPool. r=bsmedberg
2014-02-18 11:53:53 +13:00
Chris Pearce
fbe22075af
Bug 968016 - Implement nsThreadPool::IsOnCurrentThread() to return true when the current thread is in the thread pool. r=bsmedberg
...
This is so that we can assert that media decode threads are in the decode thread pool.
2014-02-18 11:53:52 +13:00
Neil Rashbrook
581a903d05
Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley
2014-02-14 19:44:55 +00:00
Luke Wagner
4625ba957c
Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink)
2014-02-13 11:17:41 -06:00
Nicholas Nethercote
e66386ee26
Bug 956199 - Fix style of xpcom/base/nsMemoryReporterManager.{h,cpp}. r=bsmedberg.
...
--HG--
extra : rebase_source : 79a8053c97ecb0786f0a722838f66fc85c5e1368
2014-01-02 19:19:32 -08:00
Neil Rashbrook
f5bb0dc0b6
Bug 972167 Followup to make the code compile now that it's actually being used
...
a=KWierso for checkin to a CLOSED TREE
2014-02-13 21:07:46 +00:00
Neil Rashbrook
fb1eb5b28d
Bug 972167 Really give nsAutoArrayBase a copy constructor so that nsAutoTArray's implicit copy constructor will use it r=froydnj
2014-02-13 20:47:32 +00:00
Jacek Caban
90a4336ee8
Bug 971646 - FileUtilsWin.h fails to compile on GCC. r=bsmedberg
2014-02-13 11:25:26 +01:00
Neil Rashbrook
42055a8e06
Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley
2014-02-12 21:22:07 +00:00
Jim Chen
d5b0e8fd9d
Bug 970358 - Disable BackgroundHangMonitor on release builds. r=froydnj
2014-02-12 10:24:21 -05:00
Yuan Xulei
32704c6cd1
Bug 956646 - xpcshell test for nsIFile#renameTo. r=bsmedberg
2014-01-06 20:32:57 +08:00