Sebastian Hengst
011ef9ea3e
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 2iKvbnEUJsY
2017-05-25 10:32:22 +02:00
Ryan VanderMeulen
ce2fe4e709
Merge m-c to autoland. a=merge
2017-05-24 20:48:16 -04:00
Olli Pettay
67c78feadf
Bug 1358476, add support for timeout when doing idle dispatch, tests, p=farre,smaug, r=nfroyd
...
--HG--
extra : rebase_source : 054bb7a4b7fdb41f255199bdc60a210149957292
2017-05-24 15:36:49 -04:00
Olli Pettay
bc787a0ec7
Bug 1358476, add support for timeout when doing idle dispatch, p=farre,smaug, r=nfroyd
...
--HG--
extra : rebase_source : 8561bd1e1aad04be8b9d3efa7b43d4833a4703bf
2017-05-24 17:34:50 -04:00
Andrew McCreight
e437a7e4e5
Bug 1367496 - Add more release asserts to the cycle collector. r=smaug
...
A previous bug missed a few places where we could theoretically
reenter the CC.
MozReview-Commit-ID: I0otlAEwyZa
--HG--
extra : rebase_source : 064b127a2c28a52b2807cd78031de9af4f258f60
2017-05-24 10:13:02 -07:00
L. David Baron
f2c24eea94
Backed out changeset e4ac2148c920 (bug 1352888) to see if it is responsible for input latency regression bug 1362094.
...
--HG--
extra : rebase_source : bfb451e911058496c2a6498d658cb6ab777da8e6
2017-05-24 11:42:19 -04:00
L. David Baron
34315c4eee
Backed out changeset 52fff3b1e209 (bug 1352889) to see if it is responsible for input latency regressions in bug 1365334 or bug 1366156.
...
--HG--
extra : rebase_source : 387401d1417a29c19e5dbc1ee7413d9d6f810d23
2017-05-24 11:41:02 -04:00
Ehsan Akhgari
b1a6df0904
Backout the experimental patch for bug 1366156 because it didn't help
2017-05-24 09:46:39 -04:00
Andreas Farre
9b389ab049
Bug 1353206 - Expose nsIThread::idleDispatch to script. r=froydnj
2017-05-24 12:16:04 +02:00
Bill McCloskey
226f6b9185
Bug 1366869 - Make DISPATCH_NORMAL be the default flags argument for nsIEventTarget::Dispatch (r=froydnj)
...
MozReview-Commit-ID: 5DVcIaMHH95
2017-05-23 12:05:43 -07:00
Michael Layzell
590b8f81b4
Bug 1363883 - Share memory maps between BHR native stacks, dr=bsmedberg, r=froydnj
...
MozReview-Commit-ID: IQ1fMXUD0ch
2017-05-23 13:41:52 -04:00
David Parks
51b34f2689
Bug 1363290 - Part 4: Extend DLL interceptor to handle mov r32, imm32. r=dmajor
...
The code already handles this if the r32 is eax. This allows it to use the other 32-bit registers.
--HG--
extra : histedit_source : 1cff5b54640cc48a0574b0b4323ad909e8a7e7b2
2017-05-16 14:48:56 -07:00
David Parks
efb6b228f4
Bug 1363290 - Part 2: Add movxsd instruction to WindowsDllInterceptor. r=dmajor
...
movxsd moves 32-bit register values to 64-bit registers, sign-extending them. It is used by SetCursorPos.
2017-05-16 14:42:58 -07:00
Andreas Farre
5a1916b791
Bug 1366750 - Rename nsIIncrementalRunnable to nsIIdleRunnable. r=smaug
...
The name nsIIdleRunnable makes more sense, since its main use is in
nsIThread::idleDispatch.
MozReview-Commit-ID: H6qchxKnt7a
2017-05-23 13:24:25 +02:00
Nathan Froyd
d0e620966f
Bug 1363172 - add mozilla::RWLock; r=erahm
...
This sort of lock is mostly useful in the context of Stylo right now,
but perhaps there are other applications waiting to be written.
2017-05-22 21:26:26 -04:00
Nathan Froyd
e75f6bd810
Bug 1353755 - remove nsCharTraits::assign; r=erahm
...
We don't need the tiny helper function for single-character assignment,
and the multi-argument assign() method is the only thing that uses it,
which is also itself unused. So remove them both.
2017-05-22 09:23:09 -04:00
Nicholas Nethercote
d1e495344b
Bug 1365854 - Remove FRAME_LABEL_COPY. r=mstange,shu.
...
ProfileEntry has |string|, which can be static or dynamic, and |dynamicString|.
If |string| is dynamic, the FRAME_LABEL_COPY flag must be set, and it will be
copied into profiler output.
But there is only one place that uses dynamic |string| values, in SpiderMonkey.
And that place doesn't use |dynamicString|. So this patch changes that place to
use an empty |string| and put the old dynamic |string| value in
|dynamicString|. This in turn removes the need for FRAME_LABEL_COPY.
One minor wrinkle is that when |dynamicString| is used the old code put a space
between |string| and |dynamicString|. The new code omits the space if |string|
is empty.
The patch also renames ProfileEntry::string as ProfileEntry::label_, which
better matches how it's used, and ProfileEntry::dynamicString as
ProfileEntry::dynamicString_ so the getter can be renamed dynamicString().
2017-05-18 17:17:46 +10:00
Bill McCloskey
b71d032b99
Bug 1363877 - Label IPC shmem messages as SystemGroup (r=dvander)
...
MozReview-Commit-ID: 3I5ny0wxVHI
2017-05-19 16:38:12 -07:00
Bill McCloskey
24b1d128db
Bug 1363474 - Add a method to ask whether it's safe to run code related to a given SchedulerGroup (r=froydnj)
...
MozReview-Commit-ID: F8uZUTfUM9v
2017-05-19 14:31:52 -07:00
Bill McCloskey
2f4cd5e241
Revert "Bug 1363474 - Add a method to ask whether it's safe to run code related to a given SchedulerGroup (r=froydnj)"
...
This reverts commit 51714e98c2d248c02b326aeea64f3af0cbdecd50.
2017-05-19 14:24:45 -07:00
Bill McCloskey
f63847577a
Bug 1363474 - Add a method to ask whether it's safe to run code related to a given SchedulerGroup (r=froydnj)
...
MozReview-Commit-ID: F8uZUTfUM9v
2017-05-19 13:59:24 -07:00
Ehsan Akhgari
f5567643a3
Bug 1366156 - Temporarily disable the collection of content js delay event telemetry probes to investigate whether they are the cause of child process INPUT_EVENT_RESPONSE_MS regressions; r=farre
2017-05-19 09:46:30 -04:00
Cervantes Yu
2dc8565a99
Bug 1348747 - Part 2: Support stub functions starting with jmp rel8 in WindowsDllDetourPatcher. r=handyman
...
MozReview-Commit-ID: 5hPBmxtBCnu
--HG--
extra : rebase_source : 52a1d43c9f57c9c8b70ded93cbcb76218922ea8b
extra : amend_source : 6377d7eb2246b38e69b95b2a7f507a0f86e300b1
extra : histedit_source : 5cc91dfb4613431466ccde12610a36578361bf53
2017-05-19 15:53:54 +08:00
Cervantes Yu
cd7a0759ce
Bug 1348747 - Part 1: Fix WindowsDllDetourPatcher that generates extra 0xff byte when generating a x64 jmp instruction. r=handyman
...
MozReview-Commit-ID: 8TfcwXh6GUN
--HG--
extra : rebase_source : dae5e7e517bdac97eae0983fe4eedacd59f33deb
extra : amend_source : 8332240c2eeff58bc6cd9ea6e6175f2b860777f8
extra : histedit_source : f287291c7405a283f62c15e7ad2a9d8a1c283e06
2017-05-19 15:53:44 +08:00
Iris Hsiao
02cae69058
Backed out 4 changesets (bug 1357829) for build bustage in xpcshell\selftest.py on windows 8 x64 opt. a=backout
...
Backed out changeset 8ea202bb1103 (bug 1357829)
Backed out changeset cebe4d7abeda (bug 1357829)
Backed out changeset 378d473c9619 (bug 1357829)
Backed out changeset 86ebe868d443 (bug 1357829)
2017-05-19 11:27:38 +08:00
Michael Layzell
3a8384acc0
Bug 1357829 - Part 2: Use profiler_suspend_sample_thread in the background hang monitor, r=froydnj
...
This patch uses the profiler_suspend_sample_thread method which was added in
part 1.
With this patch, we no longer manually run code to pause the target thread,
instead using the profiler's provided code to do so. In addition, we no longer
manually walk the stack to collect native stack frames, instead relying on the
profiler's cross-platform stack walking logic.
This helps remove some of the code from ThreadStackHelper which was redundant
with the profiler. Much of the pseudostack code in ThreadStackHelper is also
redundant, and should hopefully be eliminated in a follow-up.
MozReview-Commit-ID: 4RjLHt6inH9
2017-05-18 13:56:20 -04:00
Michael Layzell
04032b2cd0
Bug 1365749 - Bump kMaximumNativeHangStacks back to 300, and increase the number of native frames we are collecting, r=ehsan
...
MozReview-Commit-ID: FahsOqeXeLL
2017-05-17 17:27:12 -04:00
Bill McCloskey
8adfa773bb
Revert "Bug 1363877 - Label IPC shmem messages as SystemGroup (r=dvander)" for valgrind failures
...
This reverts commit 1f7a7e259501b47a014959049e2ed069fe2fd9b8.
2017-05-17 12:58:35 -07:00
Paolo Amadini
f3d8ecd611
Bug 1364050 - Part 4 - Remove references to "downloads.rdf". r=mak
...
MozReview-Commit-ID: y3BfYQYkF2
--HG--
extra : rebase_source : 0f09e7961aa0f226ba4cc1616172ee4856a50ee8
2017-05-11 09:37:10 +01:00
Bill McCloskey
71bfb5a04b
Bug 1351021 - Compute mean time between unlabeled (r=froydnj,data-r=bsmedberg)
...
Accumulates the time in between running unlabeled runnables in a histogram. This
measurement will be useful to see how much of a win the cooperative scheduler
will be, assuming we label no more runnables.
MozReview-Commit-ID: 9lgoGJcXLP9
2017-05-17 11:47:40 -07:00
Bill McCloskey
68a155951c
Bug 1351021 - Make SchedulerGroup::Runnable QIable (r=froydnj)
...
The patch allows us to tell whether a runnable is labeled using QI.
MozReview-Commit-ID: KkcCSUdWMBr
2017-05-17 11:47:40 -07:00
Bill McCloskey
2f2e996bf5
Bug 1363877 - Label IPC shmem messages as SystemGroup (r=dvander)
...
MozReview-Commit-ID: 3I5ny0wxVHI
2017-05-17 11:47:40 -07:00
Jim Chen
14dbe23a6c
Bug 1360321 - 6. Add AArch64 support in xpcom; r=froydnj
...
Add breakpoint support for AArch64, and fix a scanf format specifier
warning. Also fix an #if line in xptcinvoke_arm.cpp to work as intended.
MozReview-Commit-ID: BSjYVD8Zq0t
2017-05-17 13:06:23 -04:00
Carsten "Tomcat" Book
845d4f803d
Merge mozilla-central to mozilla-inbound
2017-05-17 12:27:56 +02:00
Samael Wang
da20faa46e
Bug 1363036 - Add MOZ_DIAGNOSTIC_ASSERTs for bug hunting. r=smaug
...
MozReview-Commit-ID: JPnkkJlkwDY
2017-05-16 10:54:01 +08:00
Carsten "Tomcat" Book
c8ef78fe63
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2017-05-16 15:08:58 +02:00
Carsten "Tomcat" Book
e83697008e
merge mozilla-inbound to mozilla-central a=merge
2017-05-16 15:04:38 +02:00
Marco Castelluccio
11243e335a
Bug 1353882 - Disable TestArenaAllocator.AllocationsPerChunk and TestArenaAllocator.MemoryIsValid tests in code coverage builds. r=jmaher
...
--HG--
extra : rebase_source : 7a77f473f4fde7794cd70c17d8fdc4e8aa847061
2017-05-16 10:39:22 +02:00
Eric Rahm
e449ec82f3
Bug 1356025 - Add Capacity checks to nsTSubstring constructor. r=froydnj
...
MozReview-Commit-ID: 6RIwuvalcRz
2017-05-15 16:52:43 -07:00
Mike Hommey
02a06f7958
Bug 1363992 - Remove support for making jemalloc4 the default. r=njn
...
--HG--
extra : rebase_source : 77e1c13aa329637d0ec875439d572ee06e6919fa
2017-05-11 13:16:00 +09:00
Steve Fink
251223d923
Bug 1364161 - Emit a major GC marker for the end of a major GC, and a slice marker for the end of a slice, instead of the other way around, r=mstange
...
MozReview-Commit-ID: 337I7TeN8tQ
--HG--
extra : rebase_source : 68725645926fbf9662c45bf6fa13ba02c25d8894
2017-05-12 17:42:43 -07:00
Nathan Froyd
c1d1748428
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Sebastian Hengst
484d2b7f51
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Kris Maglione
fc0586811d
Bug 1361900: Part 4 - Use a separate script cache for scripts loaded in the child process. r=erahm,gabor
...
MozReview-Commit-ID: EIdwmuTOl90
--HG--
extra : rebase_source : d2f6ba18a03cb54459e98b9d2ff03bc3d9567e83
extra : source : ad243db647c708b74859d73e8787b5b34897c140
2017-05-09 19:52:17 -07:00
Sebastian Hengst
e1ddae17f8
Backed out changeset ad243db647c7 (bug 1361900)
2017-05-13 18:53:40 +02:00
Patrick McManus
eab0a004e6
Bug 1362388 - dont let File backed http requests find size on main thread r=nwgh
...
MozReview-Commit-ID: AFM4R0M7dmj
--HG--
extra : rebase_source : 01d3020eb952ec286be30b937476161a403215ff
2017-05-05 17:51:13 -04:00
Andrew McCreight
bc3190039b
Bug 1364528 - Don't synchronously finalize native objects if an exception is pending. r=smaug
...
MozReview-Commit-ID: 6OY3ftH1aWu
--HG--
extra : rebase_source : 54da36f422af673762aa31e5a1225783e5f776e4
2017-05-12 11:16:16 -07:00
Wes Kocher
8eaf64f920
Backed out 2 changesets (bug 1362388) for android build bustage in nsHttpChannel.cpp a=backout
...
Backed out changeset f5b4fbe31c01 (bug 1362388)
Backed out changeset 446ecc3f5715 (bug 1362388)
MozReview-Commit-ID: DI01cDPrgM7
2017-05-12 13:58:28 -07:00
Kris Maglione
34e20a0617
Bug 1361900: Part 4 - Use a separate script cache for scripts loaded in the child process. r=erahm,gabor
...
MozReview-Commit-ID: EIdwmuTOl90
--HG--
extra : rebase_source : bce9efcd7b97c281bf4e17e30eed31e6e93c614a
2017-05-09 19:52:17 -07:00
Patrick McManus
3db60df302
Bug 1362388 - dont let File backed http requests find size on main thread r=nwgh
...
MozReview-Commit-ID: AFM4R0M7dmj
--HG--
extra : rebase_source : ad15d3aad5d0d271acd5cd35dbfbf72e432bcdd7
2017-05-05 17:51:13 -04:00