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

1868 Коммитов

Автор SHA1 Сообщение Дата
Hannes Verschore 642bdf9008 Bug 1328148: IonMonkey - Use MConcat for more cases, r=jandem 2017-01-05 10:22:16 +01:00
Jessica Jong 4f5f57be29 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local>. r=smaug,Waldo 2017-01-03 22:33:00 +01:00
Wes Kocher 6262320e74 Merge m-c to autoland, a=merge 2016-12-28 16:19:59 -08:00
Xidorn Quan 3526b1e58d Bug 1325351 part 1 - Remove workaround for VC in Maybe. r=froydnj
MozReview-Commit-ID: Anlrf3D2WtN

--HG--
extra : rebase_source : 9cc2e29e374753ad40774ebd0a0efce9f9449e3b
2016-12-29 10:58:01 +11:00
Tom Schuster 3ed240d6b8 Bug 1325927 - Reorder JSValueTag to match JSValueType. r=jandem 2016-12-27 13:31:07 +01:00
Jan de Mooij 158805801d Bug 1325075 - Fix Value::isGCThing footgun, stop returning true for NullValue. r=jonco,baku 2016-12-26 16:40:21 +01:00
Luke Wagner 7f0959b60f Bug 1313351 - Fix js::RefCounted to not do leak checking. r=jandem 2016-12-23 21:13:26 +01:00
Steve Fink 17d54944b0 Bug 1173354 - Switch GC statistics over to TimeStamp/TimeDuration, r=jonco
--HG--
extra : rebase_source : 6575a93731d2a26ca9b78c25a3dfa2aded5a108d
extra : histedit_source : df4b193445638710537524f4ddd8ac5cc183cb6b
2016-12-22 13:43:42 -08:00
Zibi Braniecki ee5fe1af13 Bug 1270146 - Add PluralRules API. r=Waldo
MozReview-Commit-ID: 2WCcMjiGjwZ

--HG--
extra : rebase_source : 4fa494e35424be579ba3714bab2a4e1932d6404c
2016-12-20 11:54:44 -08:00
Steve Fink 7f97277dc2 Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8 2016-10-28 15:11:56 -07:00
Jon Coppeard 18edf08fb3 Bug 1322312 - Assert that GCRuntime::enter/leaveUnsafe region is only used on the main thread r=sfink 2016-12-06 17:23:48 -10:00
Luke Wagner 549d7571b3 Bug 1320905 - Add js::RefCounted that uses js_delete (r=waldo) 2016-12-05 15:59:18 -08:00
Carsten "Tomcat" Book 1e97bdd3fb Backed out changeset f38852711f38 (bug 1320905) for bustage on a CLOSED TREE
--HG--
extra : amend_source : 2e75cec3778e0ceb8a5d99d94004968604403f3a
2016-12-05 16:13:36 +01:00
Luke Wagner 0bf74100a8 Bug 1320905 - Add js::RefCounted that uses js_delete (r=waldo)
MozReview-Commit-ID: D0mSwdm0nn0
2016-12-05 08:46:27 -06:00
Ms2ger b4ff4ad7ea Bug 1319831 - Clarify some code with explicit casts; r=Waldo 2016-12-01 09:23:21 +01:00
Ms2ger 53af63d8fa Bug 1319831 - Remove an unbalanced pragma from Vector.h; r=Waldo 2016-12-01 09:23:21 +01:00
Benjamin Bouvier 02cd2cddce Bug 1320374: Rename THREAD_TYPE_ASMJS into THREAD_TYPE_WASM; r=luke
--HG--
extra : rebase_source : 38d4f0b6b73d86fb65a1ad2ba20a839cc3034ed1
2016-11-25 11:50:12 +01:00
Jan de Mooij bee8fe969f Bug 1317936 part 2 - Use atom hash code for jsid hashing. r=jonco 2016-11-24 13:39:06 +01:00
Jan de Mooij 0a1aa00f54 Bug 1277368 part 1 - Add JS::Result<> and use it in a few places. r=luke 2016-11-23 17:57:43 +01:00
Jon Coppeard ff9db2128c Bug 1318384 - Remove barriers on Zone typed object descriptors set to avoid reviving compartments r=billm 2016-11-23 10:15:05 +00:00
Tooru Fujisawa 7391d5b54f Bug 1318815 - Remove ClassSpec delegation and point target ClassSpec directly from prototype class. r=jandem 2016-11-22 16:47:29 +09:00
André Bargull 8a555a2bfd Bug 1303091 - Share static Intl data across compartments. r=Waldo, r=jonco
--HG--
rename : js/src/builtin/IntlTzData.js => js/src/builtin/IntlTimeZoneData.h
extra : rebase_source : 558f4fba32efdee429423055f3786e1dc09e4d68
2016-11-17 14:40:18 -08:00
Jon Coppeard 6802f12fbc Bug 1316150 - Make profiler frame labels a GC hazard and make shell profiling function copy them r=djvj 2016-11-21 10:26:33 +00:00
Jon Coppeard 5cd9e63353 Backout changeset 093a7b8b7285 (bug 1297360) for causing bug 1316150 2016-11-21 10:26:31 +00:00
Makoto Kato 48a2c42b58 Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
MozReview-Commit-ID: DuDDyP6tpc8
2016-11-21 11:14:44 +09:00
Iris Hsiao defb095265 Backed out changeset e5164f497e42 (bug 1310067) for bustage
CLOSED TREE
2016-11-21 11:14:16 +08:00
Makoto Kato 0b47186ed3 Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
MozReview-Commit-ID: DuDDyP6tpc8

--HG--
extra : rebase_source : b503bdb2ce19f5bd87fcb0c114765e5a5de1c35d
2016-11-21 11:14:44 +09:00
Sylvestre Ledru d75b5ea206 Bug 1317430 - Avoid a unnecessary copy by passing a const & in js/ r=Waldo
MozReview-Commit-ID: EJ7B3697kZj

--HG--
extra : rebase_source : ada320437479a3d6c644e4af15a92c2a25839fab
2016-11-14 23:16:24 +01:00
Tom Schuster 77bdad13e3 Bug 1015798 - Improve ClassSpec depedent behavior especially with inheritance. r=bz 2016-11-08 22:08:28 +01:00
Jon Coppeard 37de54b8fa Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem 2016-11-04 17:32:36 +00:00
Jon Coppeard 99aa8489c8 Bug 1313098 - Assert we only access heap state on the main thread r=sfink r=mccr8 2016-11-04 17:32:36 +00:00
Benjamin Bouvier 3397fa4d20 Bug 1304672: Renamings outside asmjs/ and jit/; r=luke
MozReview-Commit-ID: 1LGFJMlHaz2

--HG--
extra : rebase_source : 3ee8b822a6097260c9b9c0487b91a63e6ff1e575
2016-11-02 18:22:37 +01:00
Tooru Fujisawa 5d7377b42e Bug 1185106 - Part 11.1: Implement async functions. r=till
MozReview-Commit-ID: ChWpakqUlsi
2016-08-29 02:05:55 +09:00
Tooru Fujisawa 1cabfda6d8 Bug 1311088 - Part 3: Do not check NaN in NumberValue(uint32_t i). r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa 183537abe4 Bug 1311088 - Part 2: Add JS::IsCanonicalized and remove JS::Value::setDoubleNoCheck. r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa 57db30aa76 Bug 1311088 - Part 1: Add mozilla::SpecificNaNBits and JS::detail::CanonicalizedNaNBits. r=jwalden 2016-10-29 01:47:30 +09:00
Tooru Fujisawa 254dc367d8 Bug 1312488 - Assign whole layout instead of layout.asDouble in JS::Value::setDoubleNoCheck. r=jandem 2016-10-27 22:57:40 +09:00
Jon Coppeard 435bdeeaec Bug 1310147 - Remove AutoAssertNoAlloc and replace with AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Jon Coppeard 4f90a79a0c Bug 1310147 - Rename AutoAssertOnGC to AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Lars T Hansen 5666e2e102 Bug 1302036 - Make structured clone accept argument that controls serialization of some data types. r=sfink
--HG--
extra : rebase_source : c082dcc82adccba47a7bd0e18fb59d87b072ae3d
2016-10-24 14:22:47 +02:00
Tooru Fujisawa 82f68e8a08 Bug 1243617 - Part 2: Remove JS_VALUE_IS_CONSTEXPR. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa 19c4b08136 Bug 1243617 - Part 1: Add constructor for JS::Value::layout. r=jwalden 2016-10-23 01:46:36 +09:00
Jon Coppeard 556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Tooru Fujisawa 4777efc768 Bug 1304191 - Part 11: Fold jsval_layout into JS::Value. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa 934d8428a6 Bug 1304191 - Part 10: Remove JSVAL_TO_IMPL and IMPL_TO_JSVAL. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa b6f7a1d6dd Bug 1304191 - Part 9: Add Value::fromDouble and use it in CanonicalizedDoubleValue. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa 45ce3de0ff Bug 1304191 - Part 8.1: Remove JS::Value::setUnmarkedPtr and JS::Value::toUnmarkedPtr. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa 58ffefe531 Bug 1304191 - Part 8: Stop using jsval_layout in JIT. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa ab5fd27553 Bug 1304191 - Part 7: Move JSVAL_EXTRACT_NON_DOUBLE_TYPE_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa a35fdf8267 Bug 1304191 - Part 6: Move JSVAL_TO_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa 6535bee8fb Bug 1304191 - Part 5.1: Always use JS::Value::toTag() to get tag in JS::Value::traceKind. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa a552563f54 Bug 1304191 - Part 5: Move JSVAL_TRACE_KIND_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa 481cbe78ba Bug 1304191 - Part 4: Move JSVAL_SAME_TYPE_IMPL into SameType. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa 0cf3292966 Bug 1304191 - Part 3: Move *_TO_JSVAL_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa 95cdd0842a Bug 1304191 - Part 2: Move JSVAL_IS_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa cf85a10917 Bug 1304191 - Part 1: Change BUILD_JSVAL to JS::Value::fromRawBits and JS::Value::fromTagAndPayload. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa a60c24ed6c Bug 1290337 - Part 25: Use HandleValue in ToNumber and ToNumberSlow. r=shu 2016-10-18 16:45:59 +09:00
Tooru Fujisawa 7ee22eddfb Bug 1290337 - Part 23: Use alignas and MOZ_NON_PARAM attribute for jsval_layout. r=jwalden 2016-09-11 18:23:11 +09:00
Tooru Fujisawa ac643f0834 Bug 1290337 - Part 21: Use const reference in BarrierMethods::exposeToJS. r=sfink 2016-10-18 16:45:57 +09:00
Benjamin Bouvier fcf5a05013 Bug 1307768: Don't include wasmGuardPages with the rest of the ClassInfo fields; r=njn
MozReview-Commit-ID: 9tqQdAn2Ywa

--HG--
extra : rebase_source : 0a8ed1a2637968285f497ef3e41aa3b75a8ed49f
extra : amend_source : 759c252412b2e5ba99805cf5bb05828ff947f833
2016-10-14 14:53:08 +02:00
Jon Coppeard c50fa1fd48 Bug 1301377 - Disallow GC while using ProfilingFrameIterator r=jandem 2016-10-14 17:13:47 +01:00
Bill McCloskey 387c3c0e70 Bug 1308039 - GC interrupt callbacks (r=jonco) 2016-10-10 18:06:17 -07:00
Bill McCloskey da1e178940 Bug 1308039 - Add AutoAssertOnBarrier (r=jonco) 2016-10-10 18:06:16 -07:00
Bill McCloskey a9f9cf1ed6 Bug 1308039 - Convert AutoAssertOnGC to release assertion (r=jonco) 2016-10-10 18:06:15 -07:00
Sebastian Hengst 05110ba250 Backed out changeset d3a026933bce (bug 1308039) for spidermonkey bustage. r=backout on a CLOSED TREE 2016-10-07 21:39:34 +02:00
Sebastian Hengst e7f8eb7dc9 Backed out changeset 48e363362718 (bug 1308039) 2016-10-07 21:39:00 +02:00
Sebastian Hengst 1010d84618 Backed out changeset ab1d29e9c95c (bug 1308039) 2016-10-07 21:38:53 +02:00
Bill McCloskey 8c6a951cce Bug 1308039 - GC interrupt callbacks (r=jonco) 2016-10-07 12:26:21 -07:00
Bill McCloskey b5679facbf Bug 1308039 - Add AutoAssertOnBarrier (r=jonco) 2016-10-07 12:26:20 -07:00
Bill McCloskey f5fb4df360 Bug 1308039 - Convert AutoAssertOnGC to release assertion (r=jonco) 2016-10-07 12:26:19 -07:00
Jon Coppeard 123936bacd Bug 1306382 - Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8 2016-10-07 13:58:37 +02:00
Mike Hommey 4b533dfa0b Bug 1287671 - Replace IS_{LITTLE|BIG}_ENDIAN with MOZ_{LITTLE|BIG}_ENDIAN in js/. r=njn
--HG--
extra : rebase_source : 41bcac276e0c7d4049e6ce3b914f9105d3b85b55
2016-10-04 15:31:45 +09:00
Iris Hsiao 3633ffd5dc Backed out changeset 1c4f0a3784f1 (bug 1287671) for jit-test bustages
CLOSED TREE
2016-10-04 17:05:04 +08:00
Mike Hommey 5c2901176e Bug 1287671 - Replace IS_{LITTLE|BIG}_ENDIAN with MOZ_{LITTLE|BIG}_ENDIAN in js/. r=njn
--HG--
extra : rebase_source : 2a66870c0f6f24936a7295c561932944d3988a64
2016-10-04 15:31:45 +09:00
Terrence Cole 0edc10380c Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa e0c7801dc3 Bug 1290337 - Part 13: Replace Value parameter to const Value& in finalizeInBackground. r=sfink 2016-09-11 18:15:23 +09:00
Tooru Fujisawa da0e2aa2f2 Bug 1290337 - Part 8: Use const reference in VoidDefaultAdaptor and BoolDefaultAdaptor. r=terrence 2016-09-11 18:15:23 +09:00
Tooru Fujisawa c72eb75470 Bug 1290337 - Part 7: Replace Value parameter to const Value& in GC. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa 56fd9aac76 Bug 1290337 - Part 6: Replace Value parameter to const Value& in RootingAPI. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa a18c43b831 Bug 1290337 - Part 3: Replace Value parameter to const Value& in simple case. r=shu 2016-09-11 18:15:22 +09:00
Tooru Fujisawa b46b1c2f1f Bug 1290337 - Part 2: Replace jsval_layout parameter to const jsval_layout&. r=evilpie 2016-09-11 18:15:21 +09:00
Tooru Fujisawa 458bd95e06 Bug 1289050 - Part 2.2: Use ASCII variant of JS_ReportError when formatting JSClass::name, and assert it is ASCII. r=jwalden 2016-09-30 12:34:43 +09:00
Jessica Jong c35a0bf546 Bug 1278186 - Implement valueAsNumber and valueAsDate for <input type=week>. r=smaug,Waldo 2016-09-29 01:08:00 +02:00
Jon Coppeard 591ec11f61 Bug 1305236 - Don't call ExposeObjectToActiveJS on null pointer r=smaug 2016-09-29 10:18:50 +01:00
Terrence Cole 76b800594e Backed out changeset d85334f696eb (bug 1285057) for implicitly depending on clang 3.8.
--HG--
extra : rebase_source : 472f9411c9d528d63d523c99f4842a1216bdd560
2016-09-23 15:59:55 -07:00
Terrence Cole 02f5e80db6 Bug 1245316 - Use Rooted<GCVector> to implement AutoVector; r=sfink
--HG--
extra : rebase_source : 24a7c4e21ea94820d94a4e8454044e4f1988365e
2016-09-22 17:01:38 -07:00
Jeff Walden 4ba700f16d Bug 1302276 - Don't abuse mozilla::Forward in move-constructor definitions to move members/base classes into the new object, and correctly use perfect forwarding in Zone::cellIter. r=terrence
--HG--
extra : rebase_source : e57f8cbb51e5e7fccd928b38bd36bd8d09abb4de
2016-09-12 16:35:27 -07:00
Terrence Cole b605dece0c Bug 1285057 - Blacklist UBSan detection of the GC's generic interfaces; r=sfink
--HG--
extra : rebase_source : f5367a8685ec462edb7e30e5ed3d274b4a9bcd0f
2016-07-07 08:59:36 -07:00
Carsten "Tomcat" Book ce8c91d458 Merge mozilla-central to mozilla-inbound 2016-09-22 11:56:22 +02:00
Benjamin Bouvier b81b572a1c Bug 1303013: Account memory for wasm guard pages; r=njn, r=luke
MozReview-Commit-ID: BHS1UfgT1yf

--HG--
extra : rebase_source : 7fea9606f776a904870fdfb4bbb93e43fd4b0a44
2016-09-19 19:39:50 +02:00
Wes Kocher 598c29ffbe Backed out changeset a03e56efce4c (bug 1281156) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:23 -07:00
ajay d220ab5953 Bug 1303708 - Remove unused JSID_IS_ZERO(jsid id) function. r=arai
MozReview-Commit-ID: 49WIEl6MCsF

--HG--
extra : rebase_source : 751611cb27d134f3f768bb43a579b489b458be18
2016-09-22 04:27:52 +05:30
Hannes Verschore e5f367169f Bug 1281156: TraceLogger: Enable caching of EventPayload for mainthread again, r=bbouvier,jonco 2016-09-21 19:26:05 +02:00
Terrence Cole f782b9ec74 Bug 1291776 - Assert that we don't create gray arguments; r=sfink
--HG--
extra : rebase_source : 6d27a748f0eafe6e1995a54c2820dd0519ca5850
2016-09-15 13:50:03 -07:00
Jon Coppeard d97a19687b Bug 1298639 - Use bytecode offsets rather than direct pointer in profiling API r=shu 2016-09-13 14:06:46 +02:00
Jeff Walden 176f2f5a05 Bug 1246061 - Add some comments. r=luke
--HG--
extra : rebase_source : 6577e0ab9834fa00f3f0fe2893a6b039bb70f5f3
2016-03-23 13:21:02 -07:00
Terrence Cole 5694dcca06 Bug 1237058 - Nursery allocate cross-compartment wrappers; r=jonco,r=terrence
--HG--
extra : rebase_source : b01515c98e505d10824b420e0df8a7e9aaf45793
2016-04-04 11:50:12 -07:00
Jon Coppeard c5e590d3e6 Bug 1297360 - Copy strings returned by ProfilingFrameIterator API r=djvj 2016-09-08 13:38:37 +01:00
Sebastian Hengst 25133e96c1 Backed out changeset 6e9706730af8 (bug 1298831) for crashing in js::TraceLoggerThread. r=backout 2016-09-05 14:32:04 +02:00
Hannes Verschore e4d2b1fbca Bug 1298831: Still flush the TraceLogger traces whenever using QuickExit to kill the content process, r=billm 2016-09-05 12:19:41 +02:00
Tooru Fujisawa 2057ca608b Bug 1289003 - Part 2: Add FindSmallestEncoding. r=jwalden 2016-08-15 15:50:15 +09:00
Tooru Fujisawa 586c7b1a14 Bug 1289003 - Part 1: Add UTF8CharsToNewLatin1CharsZ, LossyUTF8CharsToNewLatin1CharsZ. r=jwalden 2016-08-13 23:03:31 +09:00
Tooru Fujisawa 7b4d3f7d3f Backed out changeset b4c7d481bf10 (bug 1289003) 2016-09-02 21:23:03 +09:00
Tooru Fujisawa 1fe22684bd Backed out changeset 1bbdfed5b149 (bug 1289003) 2016-09-02 21:23:02 +09:00
Tooru Fujisawa 3a3fe43ccd Bug 1289003 - Part 2: Add FindSmallestEncoding. r=jwalden 2016-08-15 15:50:15 +09:00
Tooru Fujisawa 8fb52b017c Bug 1289003 - Part 1: Add UTF8CharsToNewLatin1CharsZ, LossyUTF8CharsToNewLatin1CharsZ. r=jwalden 2016-08-13 23:03:31 +09:00
Shu-yu Guo 55651d7573 Bug 1298568 - Ensure Scopes that can have data always have non-null data on clone. (r=Waldo) 2016-08-31 14:56:29 -07:00
Jan de Mooij 8868714f79 Bug 1298878 - Don't store the actual builtin constructor properties on the global in reserved slots. r=Waldo 2016-08-31 10:58:15 +02:00
Terrence Cole dea2d7e2f4 Bug 1296484 - Automatically run a CC if COMPARTMENT_REVIVED GC ends mostly gray; r=jonco,r=mccr8
--HG--
extra : rebase_source : 94482f4c09e640ca9e0436316c992457dd5b9f61
2016-08-18 13:30:32 -07:00
Tooru Fujisawa ed75f228bc Bug 1294940 - Part 3: Add ConstUTF8CharsZ variant for UTF8CharsToNewTwoByteCharsZ and LossyUTF8CharsToNewTwoByteCharsZ. r=jwalden
--HG--
extra : rebase_source : 0e58c098e1b898b5e3d1e7216ae2384af072b5a7
2016-08-15 14:52:56 +09:00
Tooru Fujisawa c12ce2fc48 Bug 1294940 - Part 2: Add validation for ConstUTF8CharsZ. r=jwalden
--HG--
extra : rebase_source : eb101f4fa5eacf839908d3f5f6729763dca78992
2016-08-13 23:03:30 +09:00
Tooru Fujisawa fc1c230284 Bug 1294940 - Part 1: Add ConstUTF8CharsZ class for const UTF8 string. r=jwalden
--HG--
extra : rebase_source : 6f8b433038c1db36902aaeba1c7f5694bf5900a5
2016-08-15 14:52:56 +09:00
Leo Gaspard 2df9fd1853 Bug 1297244 - Assert on the type given as a parameter to Heap. r=terrence
--HG--
extra : rebase_source : 2523f190a45bf3669f40392226df6a0b6fbc9806
2016-08-24 14:21:42 -07:00
Wes Kocher 00bdbfd6e2 Backed out changeset bbd6bdd463b1 (bug 1296484) for asan leaks in XPCJSRuntime a=backout 2016-08-25 17:25:00 -07:00
Terrence Cole 1432ea6638 Bug 1296484 - Automatically run a CC if COMPARTMENT_REVIVED GC ends mostly gray; r=jonco,r=mccr8
--HG--
extra : rebase_source : 26aa07342c0b286d772422401bd7d5dd4efbb2fa
2016-08-18 13:30:32 -07:00
Emanuel Hoogeveen 8210833803 Bug 1294732 - Back out all of bug 1271165 as it has served its purpose. r=glandium 2016-08-23 08:45:00 -04:00
Jon Coppeard a30843aba8 Bug 1297026 - Replace outdated references to 'compartment GC' with 'zone GC' r=terrence 2016-08-25 12:00:56 +01:00
Shu-yu Guo 03569f36dd Bug 1263355 - Report memory metrics for Scopes. (r=njn) 2016-08-25 01:28:47 -07:00
Shu-yu Guo e2b6833e0a Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo) 2016-08-25 01:28:47 -07:00
Jon Coppeard d1435a2a8c Bug 1296688 - Add JSCLASS_FOREGROUND_FINALIZE flag r=sfink r=smaug 2016-08-24 14:18:10 +01:00
Phil Ringnalda b25ad4c181 Back out changeset bba47d5c2583 (bug 1296484) for isNurseryAllocAllowed() assertion failures in devtools tests
CLOSED TREE
2016-08-23 22:37:03 -07:00
Terrence Cole d00af19508 Bug 1296484 - Automatically CycleCollect if COMPARTMENT_REVIVED GC ends mostly gray; r=mccr8,r=jonco
--HG--
extra : rebase_source : d8df564fb782c4d8cfa4a5b153e5cda00e6343a2
2016-08-18 13:30:32 -07:00
Jan de Mooij d8047f2b2f Bug 1295967 - Share Shapes and BaseShapes across compartments. r=jonco,fitzgen,njn 2016-08-23 11:25:54 +02:00
Kan-Ru Chen b4cf4bec61 Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
MozReview-Commit-ID: HltgzBnxMsn
2016-08-23 00:40:47 +08:00
Kan-Ru Chen 506dfe6ea3 Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff
In JS StructuredClone BufferList<SystemAllocPolicy> is typedef'd to
JSStructuredCloneData and use everywhere in gecko that stores structured
clone data.

This patch changed some raw pointers to UniquePtr<JSStructuredCloneData>
and some to stack allocated JSStructuredCloneData for better life time
management. Some parameters or methods are deleted because of changing
to the new data structure.

MessagePortMessage now has the exactly same structure with
ClonedMessageData. Maybe in the future they can be consolidated.

MozReview-Commit-ID: 1IY9p5eKLgv
2016-08-23 00:40:46 +08:00
Jon Coppeard 187d91a66e Bug 1296639 - Remove SpiderMonkey's periodic full GC r=sfink 2016-08-22 11:14:24 +01:00
Sebastian Hengst 55ccc927a5 Backed out changeset 325bdb8f8f80 (bug 1110928) 2016-08-21 12:27:51 +02:00
Andrew McCreight 0e61ad42e5 Bug 1110928, part 3 - Add a method to schedule the system zone for GC. r=terrence
MozReview-Commit-ID: 4L3iQMPWGNe
2016-08-19 15:26:56 -07:00
Nick Fitzgerald 2fb353111f Bug 1296399 - Make sure that the js::ProfileEntry::Flags fit in the type that they are used with. r=shu
--HG--
extra : rebase_source : 69e9c5e56ab7974c2fb28f95a9b9a0e1d75f0ae5
2016-08-18 12:35:00 -04:00
Luke Wagner 6b009b1299 Bug 1283924 - Baldr: dispatch WebAssembly.compile tasks to a helper thread (r=till)
MozReview-Commit-ID: Ll4zmDi7JuS
2016-08-17 17:06:24 -05:00
Andrea Marchesini 248823da76 Bug 1264053 - MessagePort should support transferable objects in multi-e10s - part 2, r=sfink 2016-08-17 07:54:00 +02:00
Andrea Marchesini a183983968 Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv 2016-07-21 15:29:42 +02:00
Emanuel Hoogeveen 8f67432641 Bug 1271165 - Part 3: Create and hook up an AllocPolicy for JSAPI. r=jandem 2016-08-12 07:37:00 -04:00
Jan de Mooij 536f87ca97 Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz 2016-08-12 11:39:16 +02:00
Jon Coppeard 17304689a2 Bug 1291292 - Use dynamic chunk allocation for the nursery r=terrence 2016-08-11 17:14:56 +01:00
Jon Coppeard 4d37e5f20d Bug 1291292 - Use an enum class for the chunk location values r=terrence 2016-08-11 17:14:56 +01:00
Jan de Mooij 5a6befce76 Bug 1292892 part 2 - Some RootingContext cleanup. r=bz,terrence 2016-08-11 14:39:22 +02:00
Jan de Mooij 0ad12515f4 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Ehsan Akhgari d10c483558 Bug 1293801 - Add a JS_IsInitialized() API; r=sfink
This is needed so that SpiderNode can support both being in charge of
initializing SpiderMonkey and allowing its embedder to do that.
2016-08-10 11:50:51 -04:00
Dan Gohman 95d7524476 Bug 1293313 - IonMonkey: Handle non-canonical NaNs in constant folding. r=luke 2016-08-09 15:35:55 -07:00
Chris Peterson aab004d66f Bug 1289987 - Part 3: Remove curly braces workaround for VS2013 ICE in ranged for loops in js/. r=fitzgen 2016-07-28 22:23:10 -07:00
Chris Peterson 4c53a24d6d Bug 1289987 - Remove VS2013 workarounds from js/. r=fitzgen
--HG--
extra : rebase_source : a1498f597a955c5cc1e4ee904edc8a23c50aba9d
2016-07-27 22:59:55 -07:00
Chris Peterson 1408fa9074 Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink 2016-07-25 01:14:04 -07:00
Jan de Mooij e0ae8a8c5a Bug 1286795 part 5 - Change some classes to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:53:03 +02:00
Jan de Mooij fd0edec3bf Bug 1286795 part 4 - Change some callbacks to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:52:47 +02:00
Jan de Mooij 0770a8d8b4 Bug 1286795 part 3 - Change UbiNode APIs to take JSContext instead of JSRuntime. r=fitzgen 2016-07-23 19:52:25 +02:00
Terrence Cole c3a5940060 No Bug - Fix up some function names that appear in comments; r=meow
--HG--
extra : rebase_source : c71365b5b3aeb504318ad4720e76b3d0b75b50b9
2016-07-22 10:50:26 -07:00
Terrence Cole 7cf17460c7 Bug 1251463 - Remove ShrinkGCBuffers; r=jonco,r=mccr8
--HG--
extra : rebase_source : e185ec4d3a043bb7227fdc0a296a14811741cf17
2016-02-25 15:52:59 -08:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Steve Fink 038fda516d Bug 1264403 - Check for DEBUG mismatch between compiled code and library at runtime, r=Waldo
MozReview-Commit-ID: G40Dad5k8vb

--HG--
extra : rebase_source : 2ca8ef3c7ba044bbb38736018f0a35d6866419d0
extra : histedit_source : b4b35cfb5ed07cf36dfb95e15986b15f4c37f4ab
2016-07-20 18:25:02 -07:00
Jon Coppeard 17af524d85 Bug 1260785 - Make hashcode generation fallible for cell pointers that can be moved by GC r=terrence 2016-07-13 10:20:00 +01:00
Nick Fitzgerald 41cca25d10 Bug 1286108 - Do not provide construction methods for JS::ubi::TracerConcrete[WithCompartment]; r=jimb
These are supposed to be helper base classes that should not be instantiated
directly, so we shouldn't let it be possible to Concrete<T>::construct() them.

--HG--
extra : rebase_source : 1a136d2c9eee11c7bd5b0c96e596a43454aefcfa
2016-07-12 07:49:00 +02:00
Nick Fitzgerald 28d0598039 Bug 1286095 - Assert that `JS::ubi::Concrete<T>` inherits from `JS::ubi::Base`; r=jimb 2016-07-11 17:30:00 +02:00
Steve Fink 87e914a089 No bug. Comment TracerKindTag values. r=me, a=DONTBUILD
MozReview-Commit-ID: EJbBTKpQgNo

--HG--
extra : transplant_source : K%26%27X%D3/%AD%AC%DF%E3%BE%9CG5%90%FA%A9%0E%7F%0F
extra : histedit_source : db0dc1c5815b8eccaedb369a3b9c3ea01c2b25ea
2016-06-17 01:46:51 +01:00
Boris Zbarsky 4eb8d252a4 Bug 1275315 part 1. Add a Realm.h that defines getters for some standard prototype objects. r=waldo 2016-07-09 00:19:50 -04:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky 5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Nick Fitzgerald 6300cda66b Bug 1285302 - Add a note describing why 'JS::ubi::Size' is not size_t. r=jimb 2016-07-07 11:36:00 -04:00
Terrence Cole f7ef937a46 Bug 1284977 - Use a properly aligned poison value; r=jandem
--HG--
extra : rebase_source : 29869ed039db1ea7febc5d73b8cc2e0469282167
2016-07-07 08:58:30 -07:00
Jeff Walden aaeb46f1ff Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : b552346c5b2b3a5d32ca513efd45356fe94f3abd
2016-07-05 17:41:12 -07:00
Sebastian Hengst cfa0d595fb Backed out changeset 2620e5ba1067 (bug 1282795) for 'Concrete' redeclaration in HeapSnapshot.h (static failure). r=backout 2016-07-07 19:26:27 +02:00
Jeff Walden ccddc5c404 Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : 967291d2bb028a379fcf1217ef8b116af5122cad
2016-07-05 17:41:12 -07:00
Jan de Mooij 900af968f3 Bug 1283855 part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02:00
Jan de Mooij 7ec38687c8 Bug 1283855 part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco
--HG--
extra : rebase_source : b666bd88d0247b58f7311f81e5116199779cc806
2016-07-07 09:55:45 +02:00
Jan de Mooij 1ffe7cc891 Bug 1283855 part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
Jan de Mooij 79865aba2a Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb 2016-07-06 11:40:20 +02:00
Jan de Mooij e4ae5f26da Bug 1283855 part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : ad5f2f5b5bef9d20e4e248898a3c754adb306683
2016-07-05 16:49:46 +02:00
Jan de Mooij 078a91ca56 Bug 1283855 part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Jan de Mooij 6c5b8f4c2e Bug 1283855 part 18 - Make JS_DropPrincipals take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : 6f86a455c5ae2e0b306916a7121708a537a6105b
2016-07-05 16:49:41 +02:00
Tom Schuster 4455e57052 Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff 2016-06-30 00:04:56 +02:00
Jeff Walden d0b54a19b6 Backed out changeset 763642feedb0, Windows hates me. r=beepbeepbeep in a CLOSED TREE 2016-06-29 11:16:03 +01:00
Jeff Walden 75c0b2462e Bug 1282795 - Forward-declare a bunch of TracerConcrete<T>::concreteTypeName[] so that the default virtual TracerConcrete<T>::typeName() can refer to those declarations before their definitions, without triggering compiler warnings up the wazoo. r=froydnj
--HG--
extra : rebase_source : b6601a210fbd87d3b7bba31ee03c6b5c5192c420
2016-06-28 17:06:56 +01:00
Jon Coppeard 6a5154d31f Bug 822081 - Allow barriers to fire while tracing the heap r=terrence a=abillings 2016-06-29 10:04:25 +01:00
Jan de Mooij b65490b7da Bug 1281529 part 4 - Remove JSContext overloads of some functions that are no longer necessary. r=jonco 2016-06-28 11:57:15 +02:00
Jan de Mooij 3bd7eaa33a Bug 1282113 - When we're shutting down the runtime, only allow shutdown GCs. r=terrence 2016-06-28 11:56:08 +02:00
Nathan Froyd 838be70fa9 Bug 1278861 - adjust ifdefs in Conversions.h:ToInt32 to catch clang-on-arm-generally; r=luke
The bug noted in ToInt32 doesn't just exist when compiling for
arm-darwin; it exists for ARM targets generally.  The ifdef should
reflect that.
2016-06-24 22:03:25 -04:00
Jon Coppeard 926ea71286 Bug 1276908 - Add an extra field to the arena header r=terrence 2016-06-21 15:30:34 +01:00
zhoubcfan@163.com e46e500df0 Bug 1280789 - Unbreak mingw builds, r=sfink
--HG--
extra : rebase_source : 4aa8b4709659f301e3ba22fa429f0b1ef756ff26
2016-06-20 18:43:02 +01:00
Jon Coppeard a54a6f9345 Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Luke Wagner 35cdfdaf9f Bug 1276028 - Baldr: store names as offsets into bytecode (r=bbouvier) 2016-06-19 00:29:11 +01:00
Sebastian Hengst b8d1db4420 Backed out changeset f1209b27c6a8 (bug 1276028) for assertion failure in Vector.h during test_asjm.js. r=backout 2016-06-19 12:36:47 +02:00
Luke Wagner d792ea11f1 Bug 1276028 - Baldr: store names as offsets into bytecode (r=bbouvier) 2016-06-19 00:29:11 +01:00
Sebastian Hengst 704cb4042f Backed out changeset afc3c6a5f93a (bug 1280407) for mass Spidermonkey failures. r=backout 2016-06-18 14:50:38 +02:00
Jon Coppeard c1235a507a Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Sebastian Hengst 90043bfdaa Backed out changeset a58b9ab5dff0 (bug 1280407) for errors in testThreadingThread.cpp in SM(nu). r=backout 2016-06-18 12:53:01 +02:00
Jon Coppeard 404b8e32be Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Nick Fitzgerald a4668d0b79 Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodeShortestPaths.h; r=jimb 2016-06-17 13:52:44 +01:00
Nick Fitzgerald 5545da0648 Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodePostOrder.h; r=jimb 2016-06-17 13:52:44 +01:00
Nick Fitzgerald 3a2a30627d Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodeDominatorTree.h; r=jimb 2016-06-17 13:52:44 +01:00
Nick Fitzgerald 8d76510cde Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodeCensus.h; r=jimb 2016-06-17 13:52:43 +01:00
Nick Fitzgerald 7b5d1178b4 Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNode.h; r=jimb 2016-06-17 13:52:43 +01:00
Steve Fink 4def6edc38 Bug 1272887 followup fix - alignas is not yet allowed, r=till
--HG--
extra : rebase_source : ff8b1293541493fd3639ebc7d2652cd34d66f824
extra : histedit_source : fa36fd9ce4faac7ff7d82b0272178154b90e55b7
2016-06-07 20:31:37 -07:00
Jan de Mooij d3b4c2970a Bug 1272598 part 3 - Remove JS_OVERWRITTEN_CALLEE. r=luke 2016-06-11 15:00:51 +02:00
Jeff Walden a7cb086da3 Bug 1270076 - Make CallArgs's JS_DEBUG-only handling of asserting proper rval()/calleev() sequencing work without using enumerated types, for Servo bindings. r=nox/r=jwalden tag-team effort 2016-06-07 16:55:49 -07:00
Steve Fink e915d9775e Bug 1272887 - Set alignment of PersistentRooted.ptr field for reinterpret_cast on win32, r=terrence
MozReview-Commit-ID: BMaft7pCX2q

--HG--
extra : rebase_source : 6313fc361c7499c164a7962205ccbc40efc22527
2016-06-02 12:37:09 -07:00
Nathan Froyd 3a01463f29 Bug 1277867 - use uintptr_t more consistently in Value.h; r=luke
While the casts being changed in this patch are correct as they are,
other functions near these use uintptr_t.  For consistency's sake, it
seems better to use uintptr_t everywhere.
2016-06-06 17:01:40 -04:00
Nicholas Nethercote 2560f9436f No bug. Remove unused JS_CLASS_MEMBERS argument. r=me.
--HG--
extra : rebase_source : 6837bd7f0fba743ad6c7f9c8af32fca23dbe0de3
2016-06-06 09:14:45 +10:00
Andrea Marchesini 3f22b78a94 Bug 1274362 - a Symbol passed to postMessage should throw DataCloneException, r=sfink 2016-06-04 09:24:28 +02:00
Terrence Cole 40a865b593 Bug 1266552 - Use WeakCache to automatically sweep AllocationSiteTable; r=sfink
--HG--
extra : rebase_source : 5de69eff057c54b9b6e899c481ecbbefc04a35d1
2016-05-16 15:08:18 -07:00
Steve Fink af2225da89 Bug 1259850 - Comments
MozReview-Commit-ID: 9RjVxl4EX8N

--HG--
extra : rebase_source : 032c4105bb9177197ec339381ae74275aae0770e
extra : source : 95107c3ad9cf5a173a17aee4fcd8635defbf0eb4
2016-05-24 18:26:21 -07:00