Cameron McCormack
c328195796
Bug 1356103 - Part 12: Allow OMT heap writes under Gecko_GetFontMetrics. r=bholley
...
This isn't great, since although we know that Servo style worker threads
have exclusive write access to the main thread heap due to the use of
the Servo font metrics Mutex, we don't know that we're not modifying
data on the heap that other style worker threads want to read from.
MozReview-Commit-ID: CbSzQFkKG95
--HG--
extra : rebase_source : 89664873ab964a321e62d458ee8f5577677e552e
2017-04-30 17:03:15 +08:00
Iris Hsiao
0a6db9e69f
Backed out 12 changesets (bug 1356103) for build bustage at PostTraversalTask.h
...
Backed out changeset 9fb487252c28 (bug 1356103)
Backed out changeset 301237c65945 (bug 1356103)
Backed out changeset 7bc3a4861a39 (bug 1356103)
Backed out changeset 2f383d89184b (bug 1356103)
Backed out changeset a03112e1c9d5 (bug 1356103)
Backed out changeset c60b4c9cbd83 (bug 1356103)
Backed out changeset 34280baeaabe (bug 1356103)
Backed out changeset 31a0881cfb47 (bug 1356103)
Backed out changeset 529d037f9c33 (bug 1356103)
Backed out changeset 1c7831db6b07 (bug 1356103)
Backed out changeset 559f06e32df3 (bug 1356103)
Backed out changeset 784865d234cd (bug 1356103)
2017-05-04 17:56:25 +08:00
Cameron McCormack
7a729e0dce
Bug 1356103 - Part 12: Allow OMT heap writes under Gecko_GetFontMetrics. r=bholley
...
This isn't great, since although we know that Servo style worker threads
have exclusive write access to the main thread heap due to the use of
the Servo font metrics Mutex, we don't know that we're not modifying
data on the heap that other style worker threads want to read from.
MozReview-Commit-ID: CbSzQFkKG95
--HG--
extra : rebase_source : a6f288e114512cf83a54276591fa31a57dba3278
2017-04-30 17:03:15 +08:00
Iris Hsiao
553dbd294c
Merge mozilla-central to mozilla-inbound
2017-05-04 11:29:49 +08:00
Iris Hsiao
e71485e5b0
merge mozilla-inbound to mozilla-central a=merge
2017-05-04 11:18:36 +08:00
Wes Kocher
4e89a77541
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: F7qkNALe0WT
2017-05-03 13:52:24 -07:00
David Major
eeaa91fc5c
Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj
...
This fixes a deadlock by removing one of the two sides of a mutual-wait.
2017-05-03 12:10:48 -04:00
Nathan Froyd
3261352ea3
Bug 1361514 - convert XPCLocaleObserver to NS_DECL_OWNINGTHREAD; r=gabor
...
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Jeff Walden
f1f39aa341
Bug 1351107 - Make Reflect.parse code work with a TokenStreamAnyChars, not a TokenStream. r=arai
2017-04-21 01:45:39 -07:00
Jeff Walden
072906b158
Bug 1351107 - Enclose most of TokenStream.cpp in js::frontend namespace blocks so that template specializations don't need their own custom namespace blocks. r=arai
2017-04-28 16:15:51 -07:00
Jeff Walden
1d9f2f3159
Bug 1351107 - Make jscompartment.h and GlobalObject.h not #include builtin/RegExp.h, to address yet more thorny cyclic dependency issues in subsequent patches. r=arai
2017-04-20 00:23:28 -07:00
Jeff Walden
4e5271b990
Bug 1351107 - Make the DeprecatedLanguageExtensions enum an enum class in a new header, to address a thorny cyclic dependency issue in subsequent patches. r=arai
2017-04-20 00:17:08 -07:00
Eric Rahm
edf884fdd1
Bug 935809 - Part 3: Remove JSCList. r=jimb
...
MozReview-Commit-ID: Du6i1FlJ3Uu
2017-05-03 19:22:57 -07:00
Eric Rahm
e5680a660e
Bug 935809 - Part 2: Convert onNewGlobalUpdateWatchers to DoublyLinkedList. r=jimb
...
MozReview-Commit-ID: 75SY0ab5gxn
2017-05-03 19:22:51 -07:00
Eric Rahm
7900dc0fab
Bug 935809 - Part 1: Convert breakpoint lists to DoublyLinkedList. r=jimb
...
MozReview-Commit-ID: J4jdqLOksND
2017-05-03 19:22:45 -07:00
Jeff Walden
0e9d30f091
Bug 1351107 - Rename TokenStreamBase to TokenStreamAnyChars, anticipating this class eventually not being a base class. r=arai
2017-04-13 17:52:43 -07:00
Ted Campbell
4e110f1b5d
Bug 1337773 - Use IonInIC for MIn and rename to MInCache r=jandem
...
MozReview-Commit-ID: 2Nl70H4MpPa
--HG--
extra : rebase_source : c8c54a4c32769e6bfd323f9acd7860d043f9656a
2017-04-17 13:31:12 -04:00
Ted Campbell
8e7ddb1ceb
Bug 1337773 - Add IonInIC r=jandem
...
MozReview-Commit-ID: BmHPnJnMjVP
--HG--
extra : rebase_source : d8ca3f631dd2da0bfb5b87b4db1ceac323f6131d
2017-04-17 13:55:27 -04:00
Ted Campbell
43e26a60a0
Bug 1359952 - Add HasPropIRGenerator r=jandem
...
This combines InIRGenerator with HasOwnIRGenerator.
MozReview-Commit-ID: 7FQX5YmVrM7
--HG--
extra : rebase_source : 9b0e735e303f6fa57d4407bec5b81bc8307d365a
2017-04-27 12:11:17 -04:00
Ted Campbell
d561466341
Bug 1359952 - Add ownProp flag to CanAttachDenseElementHole r=jandem
...
MozReview-Commit-ID: EvpCisLDTk2
--HG--
extra : rebase_source : ca652cb2e1c2ce2a208363bac7f283757afa5abf
2017-04-27 12:06:13 -04:00
Ted Campbell
46f8075f1a
Bug 1359952 - Remove shape arg from TestMatchingReceiver r=jandem
...
MozReview-Commit-ID: L2EiAUvK5rW
--HG--
extra : rebase_source : 487d447a05a14952a9a4b6d5260b9309d7e601a2
2017-04-26 16:06:42 -04:00
Ted Campbell
786416aaf1
Bug 1359952 - Fix CacheIRCompiler handling of boolean results r=jandem
...
MozReview-Commit-ID: 5xeZQyprlpm
--HG--
extra : rebase_source : f3df3bae4ab544d2de5610134ad9399d161288ad
2017-04-21 14:21:36 -04:00
Jeff Walden
9c9398fbf2
Bug 1351107 - Adapt BytecodeEmitter to contemplate working with Parsers working on both single- and double-byte source text. r=arai
2017-04-06 20:39:27 -07:00
Jeff Walden
ad5d6337ea
Bug 1351107 - Move RegExpFlags, RegExpShared, and RegExpCompartment into vm/RegExpShared.h so that users requiring only those types don't have to import everything RegExpObject requires. r=arai
...
--HG--
rename : js/src/vm/RegExpObject.h => js/src/vm/RegExpShared.h
2017-04-19 16:30:18 -07:00
Jeff Walden
b87d68dcc0
Bug 1351107 - Use unicode::{LINE,PARA}_SEPARATOR instead of hand-rolling them for TokenStream code. r=arai
2017-05-01 19:40:51 -07:00
Jeff Walden
a053255a13
Bug 1359980 - Make RegExpParser::ReportError give better error messages that point directly at the offending character within the pattern, rather than just at the start of the RegExp literal. r=arai
2017-04-25 23:36:22 -07:00
Jeff Walden
26c6222d22
Make Interpreter.h not #include ParseNode.h. No bug, r=shu
2017-05-01 19:40:51 -07:00
Jeff Walden
78b45ca267
Remove or curtail a bunch of unnecessary dependencies on frontend/TokenStream.h to substantially reduce the number of files that must be recompiled for a change to TokenStream.h. No bug, rs=bbouvier
2017-04-25 23:36:22 -07:00
Jeff Walden
9c2af0d44e
Make Nursery.cpp's CanaryMagicValue a constexpr so it doesn't break (some) builds with -Werror=unused-const-variable. No bug, r=sparky
2017-05-03 13:58:36 -07:00
Till Schneidereit
4662c498be
Bug 1324140 - Unwrap given Promise in some JSAPI functions. r=bz
...
To make Promise-related JSAPI functions easier to use, this patch unwraps handed-in Promise objects automatically. Some functions don't unwrap, mostly debugging-related ones and, notably, JS::IsPromiseObject. The latter doesn't unwrap in order to stay conservative: if JSAPI-using code uses IsPromiseObject to verify that an object is a Promise, it should always be fine to say "no".
MozReview-Commit-ID: 7DuCqCj95JR
--HG--
extra : rebase_source : 86e5b837c68fcbd1c1930dffefc22856b02cf3b1
2017-05-03 10:53:19 -04:00
Carsten "Tomcat" Book
0b5ec8c1f2
Backed out changeset 74a0a0207e08 (bug 1338217) for linux failures
2017-05-03 15:27:26 +02:00
Carsten "Tomcat" Book
b3a8a13d69
Backed out changeset feb47dd8a60b (bug 1338217)
2017-05-03 15:27:05 +02:00
Lars T Hansen
dae85a2f45
Bug 1338217 - Only preserve bytecode when it's needed, rs=luke
...
--HG--
extra : rebase_source : 149ddc845100a831e66672daedc928436317bd14
2017-05-02 18:05:14 +02:00
Lars T Hansen
1dfe0353ba
Bug 1338217 - Share code between Wasm instances. r=luke
...
--HG--
extra : rebase_source : f94d6c5b7463c5b9efc14f988bc542daf8828d9f
2017-05-02 14:44:38 +02:00
Jon Coppeard
17cafc9dee
Bug 1360526 - Add separate stats phases for all the sweep tasks r=sfink
...
--HG--
extra : rebase_source : 6435702d7d86b131df9f4b3894cf27688227b75e
2017-05-03 11:42:05 +01:00
Jon Coppeard
271a7eafb3
Bug 1360526 - Add RAII class to start/join a GC sweep task r=sfink
...
--HG--
extra : rebase_source : 11ab7144f5ddfad3c03614ac969989c2686cf6e3
2017-05-03 11:40:46 +01:00
Jon Coppeard
dcdecbcd8a
Bug 1360526 - Move sweeping JIT-related data into its own method r=sfink
...
--HG--
extra : rebase_source : 93b0fa75734fcead56e9108ca3dde06bbd85763c
2017-05-03 11:37:19 +01:00
Jon Coppeard
5202298eba
Bug 1360526 - Sweep unique IDs in parallel with other sweeping r=sfink
...
--HG--
extra : rebase_source : cdee41f02b8422f4229f0c30e75e6062f90389eb
2017-05-03 11:36:14 +01:00
Jon Coppeard
c68fce716d
Bug 1360526 - Sweep runtime-wide weak caches as part of the weak cache sweeping task r=sfink
...
--HG--
extra : rebase_source : 47a957dba1707f06b17942c128823b9bc30eff21
2017-05-03 11:34:55 +01:00
Jon Coppeard
fc496d2511
Bug 1360526 - Move more miscellaneous sweeping off the main thread r=sfink
...
--HG--
extra : rebase_source : 32ce6f137eebe07740f9e855d452a83b3d7a922c
2017-05-03 11:27:55 +01:00
Jon Coppeard
f9b398f422
Bug 1360526 - Sweep weakmaps in parallel with other sweeping r=sfink
...
--HG--
extra : rebase_source : 77d50ed900253ce2d37f2b53355fc7d2f462b49f
2017-05-03 11:26:36 +01:00
Jon Coppeard
00d998b339
Bug 1360526 - Refactor queing arenas for sweeping to use a single loop r=sfink
...
--HG--
extra : rebase_source : 0dc02838c0ad9e365b3975ce1642a3da390fe21f
2017-05-03 11:26:02 +01:00
Jon Coppeard
65e6107a3b
Bug 1361401 - Make gc::Statistics counts atomic as these can be updated by helper threads r=sfink
...
--HG--
extra : rebase_source : 3856839f0dbfb2e6ad1e12d07d89e162dccba8e8
2017-05-03 11:26:00 +01:00
Till Schneidereit
30d10d8dfc
Bug 1358879 - Optimize handling of internally-created Promise objects. r=bz
...
MozReview-Commit-ID: FNVrNNjOwSR
2017-05-03 12:46:00 +02:00
Jan de Mooij
72890d1b86
Bug 1361383 - Enable x86/x64 asm spew only in JS_JITSPEW builds. r=nbp
2017-05-03 10:42:05 +02:00
Jan Beich
480b73c38c
Bug 1359142 - Define EPC_sig and RFP_sig for JS_CODEGEN_(ARM64|MIPS) on BSDs. r=luke
...
MozReview-Commit-ID: IAJOQ7RfM4s
--HG--
extra : rebase_source : 23a508527d888071471ec198fcd5f77403b3cf19
2017-04-24 18:08:12 +00:00
Wes Kocher
e141e24ffb
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 1peTFbNMVnU
2017-05-02 17:38:11 -07:00
Wes Kocher
ad7e3a0ce1
Backed out changeset d3197ffef609 (bug 1338217) for failures in test_webassembly_compile.html on at least Windows VM debug a=backout a=merge
...
MozReview-Commit-ID: 35G0IT8FJML
--HG--
extra : source : 0b6169107c9b0a396fbec47c5d78a45e81281dea
2017-05-02 13:21:31 -07:00
Tom Schuster
9a7b7937e6
Bug 1350263 - Typeof object CacheIR support. r=jandem
2017-05-02 18:24:04 +02:00
Tom Schuster
ad4425f805
Bug 1350263 - Ion/MacroAssembler typeof object improvements. r=jandem
2017-05-02 18:24:04 +02:00