Iris Hsiao
65ea740eda
Merge mozilla-central to mozilla-inbound
2017-05-22 11:53:00 +08: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
Phil Ringnalda
35dc6b4906
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 78jnwmm4rib
2017-05-21 13:01:06 -07:00
Kris Maglione
d82e509e37
Bug 1354733: Part 2 - Never rewrap dead wrappers. r=bholley
...
MozReview-Commit-ID: 2oSGtKe9pkI
--HG--
extra : rebase_source : 48fb1050ebfdf6e3c6f16cda13842b3e1eb4eb06
2017-05-20 11:51:05 -07:00
Kris Maglione
6960f047b8
Bug 1354733: Part 1 - Allow creating DeadObjectProxies directly. r=till
...
MozReview-Commit-ID: HnFgiRcA7l5
--HG--
extra : rebase_source : 0337ac2451f3a72ef3feae1d05fbf426fec21d4f
2017-05-20 11:54:51 -07:00
Emilio Cobos Álvarez
8ab7ae19d1
Bug 1289868: Whitelist outparam in heap write hazard analysis on a CLOSED TREE. r=me
...
MozReview-Commit-ID: GlVmMxGopBb
2017-05-21 00:04:34 +02:00
Sylvestre Ledru
5fddbbeb72
Bug 1366497 - disable strict-aliasing for gcc in js/src/gdb & js/src/jsapi-tests r=sfink
...
MozReview-Commit-ID: HI8yGkXpDXg
--HG--
extra : rebase_source : e727801d5b894f21c6ffa77f721c22078f76b11f
2017-05-20 17:28:20 +02:00
Sebastian Hengst
79f625ac56
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: EqC7wKnn6Jt
2017-05-20 18:48:53 +02:00
Steve Fink
38b58864cb
Bug 1291954 - Update tsan failures to current set and move SM(tsan) to tier 1, r=jonco
...
MozReview-Commit-ID: 1q7doyj5vJa
--HG--
extra : rebase_source : d73fbea345b7b19a86201d657885602c31f6b9f8
2017-05-18 15:17:26 -07:00
Shu-yu Guo
f9087690d7
Bug 1364608 - Stash rval in AsyncIteratorClose. (r=arai)
2017-05-19 15:48:19 -07:00
Kris Maglione
341bdc643d
Bug 1364934: Ignore cached scripts from content processes which were removed in a cache flush. r=erahm
...
MozReview-Commit-ID: AnmsM3WiZMX
--HG--
extra : rebase_source : 9c240099272cc1546dfe35764f130d5b6356f4e2
2017-05-17 22:55:14 -07:00
Ryan VanderMeulen
9f0c23d7c6
Merge m-c to inbound. a=merge
2017-05-19 12:25:23 -04:00
Ryan VanderMeulen
acb2f518fc
Merge inbound to m-c. a=merge
2017-05-19 11:46:56 -04:00
Steve Fink
63bc9a3595
Bug 1364288 - Fix thread races on global JS shell vars, r=jonco
...
MozReview-Commit-ID: HcHf96vJAPP
--HG--
extra : rebase_source : eff483c918d32ad9742722a7b13384c84e1b3c35
2017-05-11 20:00:13 -07:00
Steve Fink
1514d9b219
Bug 1364287 - Move g{Out,Err}FilePtr into ShellContext for thread safety, r=jonco
...
MozReview-Commit-ID: KNAAL7pRAMG
--HG--
extra : rebase_source : b1febb564d18601769a19c6c73b16cacdeff4fc3
2017-05-12 17:20:48 -07:00
Steve Fink
1ae8052378
Bug 1366085 - Make JSON output use hierarchical names, r=jonco
...
--HG--
extra : rebase_source : 33a999e29bf9fc9710cb715ef7da12bfb2d81162
2017-05-18 14:16:41 -07:00
Boris Zbarsky
a4fdbd6fad
Bug 1361125 part 2. Disable Ion fast paths for DOM getters on proxies when the jitinfo indicates the value can live in a slot. r=jandem
...
We do this for now because the Ion fast paths assume things about whether slots
are fixed or not, and how reserved slot indices map to fixed slot indices, that
are not true for proxies, because they have an extra reserved slot.
2017-05-19 09:24:30 -04:00
Boris Zbarsky
6a4a1b53d0
Bug 1361125 part 1. Add a way to ask a TemporaryTypeSet whether it might contain proxies. r=jandem
2017-05-19 09:24:29 -04:00
Wes Kocher
e9b5549946
Merge m-c to autoland a=merge
...
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:21:13 -07:00
Andi-Bogdan Postelnicu
66a10a7ff6
Bug 1363009 - disable strict-aliasing for gcc in js/src. r=sfink
...
MozReview-Commit-ID: CsuRwyNNGAc
--HG--
extra : rebase_source : fc4b5816d44596b8e875af1eca2e5a964772d145
2017-05-16 11:37:35 +03:00
Francois Marier
39b6d88744
Bug 1364959 - Clean up Safe Browsing preferences in tests. r=dimi
...
Remove the forbiddenURI pref which was removed in bug 1274893 as well
as browser.safebrowsing.enabled which got renamed in bug 1025965.
Set dummy URLs for all of the network endpoints.
MozReview-Commit-ID: Efk2fv6cC3g
--HG--
extra : rebase_source : 9fbb3eb0fa7f002fe24577a8a0870ec4d1b7cf31
2017-05-18 16:18:59 -07:00
Wes Kocher
90573b0612
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: FYdNNRDmEla
2017-05-18 17:21:30 -07:00
Ravi Shankar
22e28d36ee
Bug 1363664 - Add bindings for StyleGridTemplate and nsTArray<nsString>; r=heycam
...
MozReview-Commit-ID: AsVxzu4SUu9
--HG--
extra : rebase_source : e8650549bd6adb80fde898474e06a3f851982fdb
2017-05-18 23:26:21 +05:30
Mike Hommey
92ba43731c
Bug 1365460 - Replace MOZ_MEMORY_DEBUG, MALLOC_DEBUG and !MALLOC_PRODUCTION with MOZ_DEBUG. r=njn
...
--HG--
extra : rebase_source : eeae81907bb80f78d0ab83343cc514f483d5ddc0
2017-05-18 10:22:20 +09:00
Mike Hommey
f10295dbae
Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261
...
And remove delayed_getattr.
2017-05-19 07:03:40 +09:00
Andrew McCreight
21f4802365
Bug 1365417 - mozJSComponentLoader::FindTargetObject() is infallible. r=kmag
...
MozReview-Commit-ID: Iw4ke16CTKg
--HG--
extra : rebase_source : b2c6f5b0dec1849e1bd814ecdcde78b376ffb8ca
2017-05-16 14:27:50 -07:00
Andrew McCreight
f7b4214e05
Bug 1365760 - Fix two tiny issues in mozJSComponentLoader::ImportInto(). r=kmag
...
MozReview-Commit-ID: 84I37uRi11H
--HG--
extra : rebase_source : 144b88771956c29c5de58e75dd57aab5d6e2dc1f
2017-05-16 15:51:14 -07:00
Wes Kocher
0174ce8ebb
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: AVhTkLAYIv7
2017-05-18 17:13:28 -07:00
Sébastien Marie
9461e33846
Bug 1364547 - Followup to fix build on OpenBSD where size_t is an unsigned long (like OSX). r=jonco
2017-05-18 11:00:00 -04:00
Carsten "Tomcat" Book
e5197b271a
Merge mozilla-central to autoland
2017-05-18 15:00:43 +02:00
Jon Coppeard
ebfe174007
Bug 1365654 - Fix style bustage r=me
2017-05-18 16:47:53 +01:00
Jon Coppeard
e85f5ed76c
Bug 1365654 - Add a move constructor to HashTable::Enum r=luke
2017-05-18 16:22:00 +01:00
Michelangelo De Simone
c6ca6e9675
Bug 1357911 - Baldr: update names section format (r=luke)
...
MozReview-Commit-ID: 5xIiHiB6ico
--HG--
extra : rebase_source : 23999118a544fbb2b54f346bd499a7c750ee566d
2017-05-18 09:51:02 -05:00
Petr Sumbera
421cbf7a04
Bug 1365620 - Option -rpath-link is not supported by Solaris linker. r=glandium
2017-05-17 08:03:02 -07:00
Yury Delendik
f46517ec4c
Bug 1362084 - Add binary source and JS source maps support. r=luke
...
MozReview-Commit-ID: 7WVcaH9ngHL
--HG--
extra : rebase_source : 515e38f7b32df658fcf734c47903f81af14fdddf
2017-05-04 10:39:09 -05:00
Iris Hsiao
34b5af799e
Merge mozilla-central to mozilla-inbound
2017-05-18 14:16:22 +08:00
Iris Hsiao
77020e4e53
merge mozilla-inbound to mozilla-central a=merge
2017-05-18 12:05:45 +08:00
Mike Hommey
6be8089731
Bug 1365788 - Always define NOMINMAX in spidermonkey. r=sfink. a=backout
...
--HG--
extra : rebase_source : 1c31350716806945c896f62077cf74d3cf31c79e
extra : amend_source : 4e8a0407c52e638ee6fc2a59b5afdde30e6dcf21
2017-05-18 08:13:24 +09:00
Jon Coppeard
e26d8d5744
Bug 1361458 - Generate the phase tree for GC statistics recording ahead of time r=sfink
2017-05-17 10:37:18 +01:00
Steve Fink
fddeb6a448
Bug 1364547 - Do not report untracked timings for nursery collections, r=jonco
...
--HG--
extra : rebase_source : d30182c2dc78e129bc8559695c3ff7ab78208065
2017-05-12 12:11:48 -07:00
Steve Fink
2c8f69a305
Bug 1364547 - Tell Gecko whether a slice is a final slice, r=jonco,mccr8
...
--HG--
extra : rebase_source : ea028988b3515cdc441af8f7c2c1ba0794482494
2017-05-12 16:46:43 -07:00
Steve Fink
51871e1507
Bug 1364547 - Call the slice end callback for every slice, r=jonco
...
Currently, the final slice of an incremental GC only gets a GC_CYCLE_END callback, not a GC_SLICE_END callback. So if you are doing anything that expects to see all of the slices, you will be missing one.
Simplify the setup so that every GC is bracketed with CYCLE_BEGIN/END, and every slice is bracketed with SLICE_BEGIN/END, treating a nonincremental as a GC with a single slice (which it is for everything else.)
--HG--
extra : rebase_source : 8e21300819d517b3e35de14930f53b3ab737a44e
2017-05-15 08:06:24 -07:00
Steve Fink
496252c685
Bug 1364547 - Add number of slices to major GC summary, r=jonco
...
--HG--
extra : rebase_source : c7cdf4ef944c4bc227650e6027a59907bbf4fd21
2017-05-12 12:10:56 -07:00
Jim Chen
a2dff5ad91
Bug 1360321 - 10. Fix opt build warnings in VIXL; r=me
...
Fix an unused variable warning for `visitor` because it's only used in
the assertion macro.
Fix several no-return-value errors because the compiler cannot assume
the VIXL_UNREACHABLE() macro is actually unreachable.
r=me for trivial patch.
MozReview-Commit-ID: 13IlMyUsXUN
2017-05-17 13:06:23 -04:00
Sebastian Hengst
0c5a87d59f
Backed out changeset 36f2908f6650 (bug 1361458) for crashing [@ js::GCMarker::drainMarkStack], e.g. in devtools' devtools/client/debugger/new/test/mochitest/browser_dbg-sourcemaps.js. r=backout
2017-05-17 12:53:58 +02:00
Carsten "Tomcat" Book
845d4f803d
Merge mozilla-central to mozilla-inbound
2017-05-17 12:27:56 +02:00
Carsten "Tomcat" Book
6bd33f52d5
merge mozilla-inbound to mozilla-central a=merge
2017-05-17 11:16:52 +02:00
Jon Coppeard
03c00562c3
Bug 1361458 - Generate the phase tree for GC statistics recording ahead of time r=sfink
2017-05-17 10:37:18 +01:00
Jon Coppeard
e7b43f46d6
Bug 1364051 - Make WriteBarrieredBase copy constructor protected r=sfink
2017-05-17 10:07:53 +01:00
André Bargull
f2ef984519
Bug 1365387 - Optimize FinishBoundFunctionInit by delaying atomizing the function name. r=till
2017-05-16 13:03:11 -07:00