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