Граф коммитов

59344 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 52bf3b2ff0 Bug 1328140 - Improve handling of IC failures, add megamorphic IC stubs. r=h4writer
--HG--
extra : rebase_source : b45b90eef388edf3da4e98dee5e8696eae766663
2017-03-20 14:00:33 +01:00
Tooru Fujisawa 32cff5d448 Bug 1344477 - Part 2: Optimize Array.prototype.splice with JSOP_NORVCALL. r=jandem 2017-03-19 14:16:36 +09:00
Tooru Fujisawa 7f556ef14e Bug 1344477 - Part 1: Add JSOP_CALL_IGNORES_RV for function call that ignores return value. r=jandem 2017-03-05 03:17:22 +09:00
Kris Maglione 31f241c6ca Bug 1333990: Follow-up: Return before wrapping result value on error. r=bz
MozReview-Commit-ID: AwGVr3gjzd0

--HG--
extra : rebase_source : 4987a60520941665b9fc6c0242d7f34ce43a060b
2017-03-17 14:34:55 -07:00
Kris Maglione b3d00ca35b Bug 1333990: Follow-up: Use safer conversion functions when creating error message JS strings. r=bz
MozReview-Commit-ID: FimoWFIgUxL

--HG--
extra : rebase_source : 7b9193ac1c12dc96b269ee3dea167edc4051669f
2017-03-17 16:53:04 -07:00
Kris Maglione f446374619 Bug 1333990: Follow-up: Add cycle collection and comments where unnecessary. r=bz
MozReview-Commit-ID: 70omvafFFFH

--HG--
extra : rebase_source : 4815476110a4eaf071241c3d98fc579c4d3f6dd5
2017-03-17 13:54:32 -07:00
Carsten "Tomcat" Book 3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Hannes Verschore 6653413674 Backed out changeset 323c768fdc43 (bug 1331136) for failures on websites 2017-03-17 11:24:24 +01:00
Kris Maglione aaaea39c13 Bug 1333990: Part 1b - Add tests for script precompiler. r=shu
MozReview-Commit-ID: DVFFdyzY6Kn

--HG--
extra : rebase_source : d41324f18ee2c13e98f94ecec3af73e67da873ea
2017-03-16 16:55:59 -07:00
Kris Maglione 437f4e37d4 Bug 1333990: Part 1a - Add an async script pre-loading utility. r=billm,shu
MozReview-Commit-ID: 4vJF2drLeHS

--HG--
extra : rebase_source : 8adaa22d6d91ac6ef1804cf4c8d5698cf304b141
2017-03-16 19:10:40 -07:00
Steve Fink 15be199c92 Bug 1346874 - Disable slow gray mark checks on Android, r=mccr8
MozReview-Commit-ID: GyycxPpNDQA

--HG--
extra : rebase_source : a9803e46a04f96eff4683bfdbe0eeeacbd6eb248
2017-03-16 15:41:36 -07:00
Boris Zbarsky c63be1e971 Bug 1347706. Update to spec change for [[SetPrototypeOf]] on cross-origin objects. It should return true if null is passed. r=bholley
MozReview-Commit-ID: 42je5yfBRee
2017-03-16 17:43:49 -04:00
Wes Kocher efcef12931 Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE
MozReview-Commit-ID: 22csfCgl7Wb
2017-03-16 10:25:15 -07:00
Geoff Brown ecc9668072 Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or usedr; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and the --dmTrans and similar options have been removed
from test harnesses and mach commands.
2017-03-16 10:44:44 -06:00
Carsten "Tomcat" Book 468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Makoto Kato 20cb071f24 Bug 1347431 - Skip some xpcshell tests that is failure on Android without ENABLE_INTL_API. r=snorp
Sicne some tests doesn't work with --with-intl-api=no, we should skip it on Android

MozReview-Commit-ID: IjlH3aQdiqb

--HG--
extra : rebase_source : ac6d91bf291f6268ea29bcb29180b2f5197e012c
2017-03-16 12:54:25 +09:00
David Major ed12ea611f Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg
MozReview-Commit-ID: DWDEDMIVKm7

--HG--
extra : rebase_source : 7fe8dc07c816dca234c67761e61cdee372a87e97
2017-03-10 15:17:23 +13:00
Blake Kaplan 18b64f8d42 Bug 1208957 - No need for a condvar for thread shutdown. r=billm
Now that we join on the thread exiting, we no longer need to have the thread
explicitly tell us it's shutting down.

MozReview-Commit-ID: LycPjUvyeX

--HG--
extra : rebase_source : 7b3d21c3d8de73a1ed511c7d6efefe2a73b2e02a
2017-03-14 23:36:02 -07:00
Blake Kaplan 9f2cfeccc4 Bug 1208957 - Join the watchdog thread to avoid shutdown races. r=billm
MozReview-Commit-ID: FlnPO2fJWVu

--HG--
extra : rebase_source : f7465994db184b21b4e0159c1b4ca3509c071f5b
2017-03-14 23:27:21 -07:00
Wes Kocher 1d6765414b Merge m-c to autoland, a=merge
MozReview-Commit-ID: AcDLWqQhcBe
2017-03-15 14:29:24 -07:00
Wes Kocher 06af2f1e92 Merge inbound to central, a=merge
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
Carsten "Tomcat" Book 7decdeb7c8 Merge mozilla-central to autoland 2017-03-15 13:19:12 +01:00
Nicholas Nethercote 8876b32323 Bug 1345262 (part 5) - Fix how JS sampling is started/stopped by the profiler. r=mstange,djvj.
Currently, JS sampling has major problems.

- JS sampling is enabled for all JS threads from the thread that runs
  locked_profiler_start() -- currently only the main thread -- but the JS
  engine can't handle enabling from off-thread, and asserts. This makes
  profiling workers impossible in a debug build.

- No JS thread will be JS sampled unless enableJSSampling() is called, but that
  only happens in locked_profiler_start(). That means any worker threads
  created while the profiler is active won't be JS sampled.

- Only the thread that runs locked_profiler_stop() -- currently only the main
  thread -- ever calls disableJSSampling(). This means that worker threads that
  start being JS sampled never stop being JS sampled.

This patch fixes these three problems in the following ways.

- locked_profiler_start() now sets a flag in PseudoStack that indicates
  JS sampling is desired, but doesn't directly enable it. Instead, the JS
  thread polls that flag and enables JS sampling itself when it sees the flag
  is set. The polling is done by the interrupt callback. There was already a
  flag of this sort (mJSSampling) but the new one is better.

  This required adding a call to profiler_js_operation_callback() to the
  InterruptCallback() in XPCJSContext.cpp. (In comparison, the
  InterruptCallback() in dom/workers/RuntimeService.cpp already had such a
  call.)

- RegisterCurrentThread() now requests JS sampling of a JS thread when the
  profiler is active, the thread is being profiled, and JS sampling is enabled.

- locked_profiler_stop() now calls stopJSSampling() on all live threads.

The patch makes the following smaller changes as well.

- Renames profiler_js_operation_callback() as profiler_js_interrupt_callback(),
  because "interrupt callback" is the standard name (viz.
  JS_AddInterruptCallback()).

- Calls js::RegisterContextProfilingEventMarker() with nullptr when stopping
  JS sampling, so that ProfilerJSEventMarker won't fire unnecessarily.

- Some minor formatting changes.

--HG--
extra : rebase_source : 372f94c963a9e5b2493389892499b1ca205ebc2f
2017-03-10 09:04:23 +11:00
Hannes Verschore 351a4b3f9c Bug 1342882: IonMonkey - Don't allow magic types for concatenation, r=jandem 2017-03-15 17:26:44 +01:00
Jan de Mooij ceeedc0eb2 Bug 1347489 - Give StringSegmentRange stack Vector some inline capacity to avoid malloc/free overhead. r=luke
--HG--
extra : rebase_source : 6ad96563e57af30665ac82bb75bb02b4a4d8a91f
2017-03-15 16:25:46 +01:00
Nicholas Nethercote d8023679e3 Bug 1345262 (part 2) - Add profiler_{set,clear}_js_context(). r=mstange.
PseudoContext::sampleContext() is always called immediately after
profiler_get_pseudo_stack(). This patch introduces profiler_set_js_context()
and profiler_clear_js_context(), which replace the profiler_get_pseudo_stack()
+ sampleContext() pairs. This takes us a step closer to not having to export
PseudoStack outside the profiler.

--HG--
extra : rebase_source : 8558d1600eafd395cc696d31f3d21fb52a1a74b0
2017-03-09 17:06:35 +11:00
Boris Zbarsky 746467862d Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink, a=waldo on the gcc-specific bits. 2017-03-10 23:52:55 -05:00
Wes Kocher a7c590aa9c Merge inbound to central, a=merge
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Geoff Brown 6eac32a3c5 Bug 1338809 - Build android xpcshell as position independent executable; r=glandium
This allows xpcshell-test to be run on Android 5.0 and greater at the
expense of Android 4.0: Run xpcshell on Android 4.1 and above.
2017-03-14 08:08:43 -06:00
Jan de Mooij cdf58c0603 Bug 1344265 - Fix OOM bug in newExternalString testing function. r=bbouvier 2017-03-14 15:00:43 +01:00
Jan de Mooij a42b1e1a08 Bug 1345707 - Don't attach set-dense-hole stubs for non-extensible objects. r=tcampbell 2017-03-14 14:58:38 +01:00
Carsten "Tomcat" Book fb74131fe7 Merge mozilla-central to mozilla-inbound 2017-03-14 14:26:07 +01:00
Carsten "Tomcat" Book dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Chih-Yi Leu ec60526d60 Bug 1315037 - Use NS_ENSURE_SUCCESS for nsresult diagnosis. r=erahm 2017-03-13 02:14:00 +01:00
Makoto Kato 831b62ec11 Bug 1345336 - Part 1. Remove empty zoneStrings entries. r=Waldo
MozReview-Commit-ID: EuVZ5sgHoBH
2017-03-13 13:37:47 +09:00
Jan de Mooij a366376aef Bug 1341071 - Fix Ion IC post barriers to be part of the IC stubs instead of adding them in IonBuilder. r=jonco,nbp 2017-03-14 13:05:23 +01:00
Steve Fink e4692e3730 Bug 1346874 - Skip gray mark check stack walk on DEBUG Android, r=mccr8
--HG--
extra : rebase_source : 090d65e9f60c6327c4852f3042b57ce8ef5f1e12
extra : histedit_source : df5e8164f89e7ad75ce7032a2dcbae8dbfbd6e28
2017-03-13 10:43:09 -07:00
Luke Wagner 38869370c4 Bug 1342641 - Baldr: make OpIter always validate and produce output (r=bbouvier)
MozReview-Commit-ID: 3PD8DqFeV77

--HG--
extra : rebase_source : e79b0de90b612c7bc0e4fc4b7a7767c970d9faa2
2017-03-13 12:25:57 -05:00
Luke Wagner e887cb00e9 Bug 1342641 - Baldr: validate and compile in a single pass in Rabaldr (r=lth)
MozReview-Commit-ID: 22AK6gG1pZ7

--HG--
extra : rebase_source : 29ba24ad1f133148872130b422d705c9972a3583
2017-03-13 12:25:25 -05:00
Luke Wagner 097b235e34 Bug 1342641 - Baldr: validate and compile in a single pass in Ion (r=bbouvier)
MozReview-Commit-ID: HRW2BuA6GSs

--HG--
extra : rebase_source : cee7a41a5cc597d3133fa3e19160e4d5eed10388
2017-03-13 12:25:03 -05:00
Luke Wagner 92074ab0d0 Bug 1346269 - Baldr: remove dependency on TlsContext in ModuleGenerator::finish (r=bbouvier)
MozReview-Commit-ID: IU3vYQ98ZFB
2017-03-13 10:03:38 -05:00
Zibi Braniecki f096c9aab9 Bug 1346674 - Migrate all uses of nsILocaleService::GetApplicationLocale to mozILocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: 2E7mj3yQnxB

--HG--
extra : rebase_source : 97ba5b1738b2f116ec75830ed1b23f279680035e
2017-03-12 20:39:22 -07:00
Tom Schuster c4dfa17e82 Bug 1331136 - Handle more StringChar cases with ropes in CacheIR. r=jandem 2017-03-15 14:05:08 +01:00
Madeleine Chercover 99f76d739a Bug 1347241 - Enable linux64-ccov coverage collection for common tests set; r=gmierz,jmaher
MozReview-Commit-ID: FLyjCwMGb6L

--HG--
extra : rebase_source : 4c2c56c5ace6fd1f6b933a92ad0f69189ab1df69
2017-03-14 11:40:59 -07:00
Sebastian Hengst 1c387c432b Backed out changeset da332b097c16 (bug 1345336) for failing jsreftest.html?test=Intl/DateTimeFormat/format.js on Windows 7 VM pgo. r=backout 2017-03-13 10:47:30 +01:00
Makoto Kato f65c413250 Bug 1345336 - Part 1. Remove empty zoneStrings entries. r=Waldo
MozReview-Commit-ID: EuVZ5sgHoBH

--HG--
extra : rebase_source : d8341641ef4dcb01701f3cac8f1537f9278fac92
2017-03-13 13:37:47 +09:00
Benjamin Bouvier 25786342d6 Bug 1346264: Fix debugging of ARM simulator float register debugging; r=nbp
MozReview-Commit-ID: 9rVbtqBLHjJ

--HG--
extra : rebase_source : cc0492d698f0430bbb2269742036038f3c8ec2f2
2017-03-10 17:20:56 +01:00
André Bargull 0488a95df8 Bug 1346074 - Part 2: Move ToLengthClamped into jsarray.cpp. r=shu
--HG--
extra : rebase_source : a89628cae4e9b8424d2a6eef42d12a6e60a96734
2017-03-10 23:40:17 +01:00
André Bargull ebd0ed5d8e Bug 1346074 - Part 1: Align SharedArrayBuffer constructor to match ArrayBuffer constructor and latest spec. r=shu
--HG--
extra : rebase_source : 8c79f2b23d9c4f4886afc612c4788400651aec7d
2017-03-10 23:40:10 +01:00
Jan de Mooij 0c50ebd695 Bug 1346191 followup - Add array-isArray-proxy-recursion.js to cgc-jstests-slow.txt. r=red 2017-03-11 14:27:44 +01:00