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

71928 Коммитов

Автор SHA1 Сообщение Дата
Gurzau Raul 8611828ac4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-29 13:06:31 +03:00
Gurzau Raul 1eb05019f4 Merge inbound to mozilla-central. a=merge 2019-07-29 12:53:35 +03:00
André Bargull db7b8bab49 Bug 1568175: Directly store result of 'available-locales' function in args.rval(). r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D38996

--HG--
extra : moz-landing-system : lando
2019-07-26 18:40:19 +00:00
André Bargull 1c6519d900 Bug 1433303 - Part 5: Reimport test262 for Intl.Locale tests. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38878

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:57 +00:00
André Bargull a47b9f2a26 Bug 1433303 - Part 4: Enable test2626 tests for Intl.Locale proposal. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38877

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:37 +00:00
André Bargull 78e220fcb5 Bug 1433303 - Part 3: Tests for Intl.Locale proposal. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38876

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:11 +00:00
André Bargull 958926a675 Bug 1433303 - Part 2: Add Intl.Locale minimize() and maximize() functions. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38875

--HG--
extra : moz-landing-system : lando
2019-07-29 09:26:55 +00:00
André Bargull 2684e5023e Bug 1433303 - Part 1: Implement Intl.Locale proposal. r=jwalden
Intl.Locale.m{ax,in}imize() are implemented in part 2.

Differential Revision: https://phabricator.services.mozilla.com/D38874

--HG--
extra : moz-landing-system : lando
2019-07-29 09:35:53 +00:00
Paul Bone c21b40d483 Bug 1569163 - Call Mutex::Shutdown() before leaving BufferStreamMain r=luke
Differential Revision: https://phabricator.services.mozilla.com/D39493

--HG--
extra : moz-landing-system : lando
2019-07-29 04:45:53 +00:00
Jon Coppeard 04584a99c6 Bug 1568821 - Pass wasSwept parameter when freeing malloc memory r=sfink
Now ensure that we know whether malloc memory was freed by the collector or the mutator.  Most of the time we can get the |wasSwept| state from from the FreeOp, so mostly this is passing the FreeOp through in more places.  That's not always possible though since some code uses the runtime's default FreeOp, so this sets the approriate flag on the default free while we're sweeping too.

Differential Revision: https://phabricator.services.mozilla.com/D39393

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:56 +00:00
Jon Coppeard f1b1a791ef Bug 1568821 - Use retained bytes for telemetry and replace the original calculation r=sfink
Now we're calculating retained size here we can remove the same calculation from Statistics.  I had to add a flag to say whether a zone was collected in the last collection so that we know which zones to add to add up.  I checked that this produced the same result as the original calculation.

Differential Revision: https://phabricator.services.mozilla.com/D39392

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:31 +00:00
Jon Coppeard 415becea0d Bug 1568821 - Add retained bytes count to memory tracking classes and use this to track retained GC bytes r=sfink
The main idea here is to pass a |wasSwept| parameter to memory tracking methods that remove memory.  We know what to pass for GC heap size because this always goes through HeapSize::removeGCArena().  Getting this right for malloc memory is the subject of a later patch.

Differential Revision: https://phabricator.services.mozilla.com/D39387

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:17 +00:00
Mike Hommey bf3db9e84f Bug 1569331 - Update bindgen to 0.51. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39580

--HG--
extra : moz-landing-system : lando
2019-07-27 00:36:18 +00:00
Brindusan Cristian 4fa8adae5d Backed out 8 changesets (bug 1556813) for xpcshell and devtool failures at test_logpoint-01.js.
Backed out changeset 6e0c40509959 (bug 1556813)
Backed out changeset eeeab13f3b16 (bug 1556813)
Backed out changeset fce998a05369 (bug 1556813)
Backed out changeset 9a6171df1f78 (bug 1556813)
Backed out changeset 40744b3611a5 (bug 1556813)
Backed out changeset d1d6fad7467b (bug 1556813)
Backed out changeset e4bd68b4094b (bug 1556813)
Backed out changeset 93d5840653ae (bug 1556813)
2019-07-28 21:14:15 +03:00
Brian Hackett 6bc30082c3 Bug 1556813 Part 4 - Add Debugger API to create native functions in a debuggee's realm, r=jorendorff.
--HG--
extra : rebase_source : f57818bd089d16ac68ff8a523f752f9465bd3a16
2019-06-04 10:55:16 -10:00
Brian Hackett 743b96ceef Bug 1556813 Part 4 - Add Debugger API to create native functions in a debuggee's realm, r=jorendorff.
--HG--
extra : rebase_source : 074d3de75cdc37730cbcd2db51057bc9eb967dd5
2019-06-04 10:55:16 -10:00
Brian Hackett a8ef006ceb Bug 1556813 Part 1 - Allow lazy script parsing when recording/replaying, r=jandem.
--HG--
extra : rebase_source : d32706d8c3401754804bb6e1bbbeef856fa61c09
2019-06-04 10:50:19 -10:00
Brian Hackett 18b9d397b9 Bug 1556813 Part 1 - Allow lazy script parsing when recording/replaying, r=jandem.
--HG--
extra : rebase_source : f694e5269b0e3997385eca5e1796f890bb3f09de
2019-06-04 10:50:19 -10:00
Brian Hackett e22f425e5e Bug 1569043 - Tidy up DebugAPI, r=jimb.
Differential Revision: https://phabricator.services.mozilla.com/D39423

MANUAL PUSH: Lando does not allow me to land these patches, and no one is in #lando to help diagnose why.

--HG--
extra : rebase_source : 1a77f50a0529d0ee4d262abe663b2503bb0659a6
extra : histedit_source : d0135627a288df5750f292fc5702eb7fd5fe6f9f
2019-07-25 13:02:06 -10:00
Brian Hackett 58e22ee69f Bug 1569042 - Include IsObserving in DebugAPI, r=jimb.
Differential Revision: https://phabricator.services.mozilla.com/D39422

--HG--
extra : rebase_source : ab8ca5c674c078e6d1cf8b46c9683533ec6afd49
extra : histedit_source : 52388b8abae052a62449b92410cc91667e49bb25
2019-07-25 07:31:30 -10:00
Bogdan Tara 35bb05e6e9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-27 00:41:55 +03:00
Bogdan Tara 3736b292dc Merge inbound to mozilla-central. a=merge 2019-07-27 00:38:36 +03:00
Narcis Beleuzu 047fde9d4e Backed out 3 changesets (bug 1559659) for SM bustages on Runtime.cpp . CLOSED TREE
Backed out changeset 1d509e451876 (bug 1559659)
Backed out changeset f4b6a279a331 (bug 1559659)
Backed out changeset fa9186737abd (bug 1559659)
2019-07-26 19:58:07 +03:00
Matthew Gaudet 7a8de031e1 Bug 1563324 - Clean up no longer applicable comment r=khyperia
Depends on D39016

Differential Revision: https://phabricator.services.mozilla.com/D39017

--HG--
extra : moz-landing-system : lando
2019-07-26 18:43:04 +00:00
Matthew Gaudet 3ddf3782c9 Bug 1563324 - Remove variable shadowing in emitFunction to ease readability r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D39016

--HG--
extra : moz-landing-system : lando
2019-07-26 18:42:42 +00:00
kriswright 3fa5b30ce3 Bug 1559659 - 3. Get rid of per-thread jscontext instantiation and use the global pool instead r=jandem
Got rid of the per-thread JSContext created at the start of each thread. Tasks that require JSContext (ParseTasks, IonBuilder, Wasm tier 2 generators, GCParallel) now request an unused context to set to their thread. Tasks which do not use JSContext will not request one.

Differential Revision: https://phabricator.services.mozilla.com/D37495

--HG--
extra : moz-landing-system : lando
2019-07-25 18:02:05 +00:00
Kristen Wright 027905e475 Bug 1559659 - 2. Create, initialize, destroy vector of JSContext* with GlobalHelperThreadState r=jandem
Created a vector of JSContext*, initialized at creation of GlobalHelperThreadState, destroyed when GlobalHelperThreadState.finish() is called. Note that this implementation makes the assumption that the creation and destruction of these objects always happens in the same order (helper thread state created -> main thread context created -> main thread context destroyed -> helper thread state destroyed). In this scenario context checks can clear by each context claiming the main thread during its ctor/dtor but this is only possible if the main thread context is not set at the time.

Also, removed GlobalHelperThreadState::lock() and unlock(), as they are not being used - AutoLockHelperThreadState is used instead.

Differential Revision: https://phabricator.services.mozilla.com/D36842

--HG--
extra : moz-landing-system : lando
2019-07-25 18:04:12 +00:00
Kristen Wright d57cc19147 Bug 1559659 - 1. Liberate TlsContext.set() process from JSContext ctor, add thread id ptr, make it possible to clear thread context & id without destroying JSContext r=jandem
Created SetThread/ClearThread functions to handle JSContext/tid setting/clearing & updated existing implementation of JSContext to reflect. CurrentThread is ContextData because JSContext should already have a "claim" on the thread if it's clearing these.

Differential Revision: https://phabricator.services.mozilla.com/D36836

--HG--
extra : moz-landing-system : lando
2019-07-25 21:49:03 +00:00
Kris Maglione 87884612c0 Bug 1568035: Part 4 - Update test expections for Fission. r=mccr8
Some failures crept in and out after my last sets of annotations landed. This
patch updates most of the annotations to deal with them.

MANUAL PUSH: Lando won't let me land.

Differential Revision: https://phabricator.services.mozilla.com/D39462

--HG--
extra : rebase_source : 4cfccf95c5bb2521533a9f5c4c25d67f414fb6f5
extra : histedit_source : c19187a3b3002e0eebdd809738b57641e1e432cd
2019-07-24 13:06:57 -07:00
André Bargull c5f747644a Bug 1568134: Add support for "fractionalSecondDigits" option to Intl.DateTimeFormat. r=jwalden
Nightly-only for now until the open spec issues are addressed.

Drive-by change:
Implement the "unknown" parts change from <https://github.com/tc39/ecma402/pull/245>.

Differential Revision: https://phabricator.services.mozilla.com/D38992

--HG--
extra : moz-landing-system : lando
2019-07-26 07:44:16 +00:00
Ryan Hunt dd2ef75bcc Bug 1435818 - JS: Let numeric separators ride the trains to release. r=jorendorff
Spec: https://github.com/tc39/proposal-numeric-separator

This was released in V8 release 75 [1], and it sounds like spec concerns have
been figured out and we can let this ride to release.

[1] https://v8.dev/blog/v8-release-75#numeric-separators

Differential Revision: https://phabricator.services.mozilla.com/D39379

--HG--
extra : moz-landing-system : lando
2019-07-26 13:33:05 +00:00
Paul Bone cff772d17a Bug 1568119 - Mark the test as slow so it doesn't cause timeouts r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D39491

--HG--
extra : moz-landing-system : lando
2019-07-26 12:34:52 +00:00
Jan de Mooij 6bd4215c14 Bug 1567388 part 4 - Move inlinedCompilations Vector to CachedIonData. r=tcampbell
This saves a little memory for JitScripts that are never Ion-compiled.

Differential Revision: https://phabricator.services.mozilla.com/D39169

--HG--
extra : moz-landing-system : lando
2019-07-26 10:11:41 +00:00
Jan de Mooij a76503da23 Bug 1567388 part 3 - Stop Baseline-compiling scripts for the definite properties analysis. r=tcampbell
Now that IonBuilder only depends on JitScript we no longer need to have a BaselineScript.

Differential Revision: https://phabricator.services.mozilla.com/D39168

--HG--
extra : moz-landing-system : lando
2019-07-26 10:11:27 +00:00
Jan de Mooij 5d6af23a03 Bug 1567388 part 2 - Move BaselineScript fields for Ion compilation to JitScript. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D39167

--HG--
extra : moz-landing-system : lando
2019-07-26 10:11:08 +00:00
Jan de Mooij e9bbf59980 Bug 1567388 part 1 - Move ionCompiledOrInlined flag from BaselineScript to JitScript. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D39166

--HG--
extra : moz-landing-system : lando
2019-07-26 10:10:51 +00:00
Jan de Mooij cc71a043f6 Bug 1567388 part 0 - Stop marking scripts as uninlineable during Baseline compilation. r=tcampbell
This prevents assertion failures with later patches because we will run the
definite properties analysis in IonBuilder without requiring a Baseline
compilation.

Just aborting in IonBuilder should be fine nowadays: we can now properly
backtrack from inlining failures (instead of aborting the whole compilation)
and when this happens we mark the script uninlineable too.

Differential Revision: https://phabricator.services.mozilla.com/D39481

--HG--
extra : moz-landing-system : lando
2019-07-26 11:45:38 +00:00
Paul Bone 2e017fa8c2 Bug 1568119 - Remove a superflous assert r=jonco
Depends on D39457

Differential Revision: https://phabricator.services.mozilla.com/D39458

--HG--
extra : moz-landing-system : lando
2019-07-26 09:02:11 +00:00
Paul Bone afc95d0079 Bug 1568119 - Setup OOM simulation testing for MarkPagesInUseHard r=jonco
There are three cases where this function could OOM:

 * Zeal mode - we want to crash if this OOMs
 * Growing the Nursery - We've added a new test to exercise this code path
 * Disabling the Nursery - Plenty of existing tests seem to cover this
   with OOM testing.

Differential Revision: https://phabricator.services.mozilla.com/D39457

--HG--
extra : moz-landing-system : lando
2019-07-26 09:03:30 +00:00
Ted Campbell 9d301657ea Bug 1569063 - Move flag fields to js::BaseScript. r=jandem
This moves the actual fields to the base scripts and unifies the basic
hasFlag / setFlag operations.

Depends on D39441

Differential Revision: https://phabricator.services.mozilla.com/D39442

--HG--
extra : moz-landing-system : lando
2019-07-26 07:59:06 +00:00
Ted Campbell ab8b2dda04 Bug 1569063 - Move JSScript::ImmutableFlags/MutableFlags to js::BaseScript. r=jandem
These flags are already shared by LazyScript and JSScript. Later patches
will move the fields and accessors.

Differential Revision: https://phabricator.services.mozilla.com/D39441

--HG--
extra : moz-landing-system : lando
2019-07-26 07:46:10 +00:00
Yoshi Cheng-Hao Huang 79b0c0cd82 Bug 1551810 - Part 3: return bool in TraceEdgeInternal. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D38983

--HG--
extra : moz-landing-system : lando
2019-07-26 08:59:47 +00:00
Yoshi Cheng-Hao Huang 53ab2b6a15 Bug 1551810 - Part 2: return bool in DoCallback. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D38981

--HG--
extra : moz-landing-system : lando
2019-07-26 08:59:40 +00:00
Yoshi Cheng-Hao Huang e17d60cbf4 Bug 1551810 - Part 1: return bool in CallbackTracer methods. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D38980

--HG--
extra : moz-landing-system : lando
2019-07-26 08:59:38 +00:00
Yu Yin 639aef6c09 Bug 1567148 -[mips] fix load32SignExtendToPtr. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D38476

--HG--
extra : moz-landing-system : lando
2019-07-26 08:46:54 +00:00
Kris Maglione ef02b3cbd8 Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39459

--HG--
extra : rebase_source : 594e7c17a8aa81f9b212ff1fa492a8ab8f40d5ee
2019-07-19 15:31:16 -07:00
Nicholas Nethercote 18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

Differential Revision: https://phabricator.services.mozilla.com/D39138

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Noemi Erli 8f73896852 Backed out changeset 2c5e99c6de6a (bug 1564168) for causing bustages in Debugger-enabled-01.binjs CLOSED TREE 2019-07-26 01:27:37 +03:00
Mihai Alexandru Michis 32ebfab7db Merge mozilla-central to autoland. a=merge 2019-07-26 00:56:26 +03:00
Mihai Alexandru Michis 124c0de476 Merge inbound to mozilla-central. a=merge 2019-07-26 00:51:09 +03:00