Commit Graph

181 Commits

Author SHA1 Message Date
Chris Peterson
1408fa9074 Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink 2016-07-25 01:14:04 -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
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -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
zhoubcfan@163.com
e46e500df0 Bug 1280789 - Unbreak mingw builds, r=sfink
--HG--
extra : rebase_source : 4aa8b4709659f301e3ba22fa429f0b1ef756ff26
2016-06-20 18:43:02 +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
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
Terrence Cole
4bf8df3a44 Bug 1266887 - Store Rooted heads on the Zone; r=sfink
--HG--
extra : rebase_source : 30686e746021d123947ade0ad51b10f1b3d32ee9
2016-04-25 12:32:36 -07:00
Terrence Cole
9ca2f324ec Backout edb632ad80c4 (Bug 1266887) for regressing performance on windows. 2016-05-03 13:59:50 -07:00
Terrence Cole
8e2294b2b6 Bug 1267699 - Move some public types to the right namespace; r=sfink
--HG--
extra : rebase_source : f79f7d86aab708b86a65e6f2426baeb8488f47e5
2016-04-26 09:18:48 -07:00
Terrence Cole
e27fba9d56 Bug 1266887 - Store Rooted heads on the Zone; r=sfink
--HG--
extra : rebase_source : 1a9056f7d67eb118d55c789c18935799f871344f
2016-04-25 12:32:36 -07:00
Steve Fink
517605b022 Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
MozReview-Commit-ID: HCcG2k8Wyb9

--HG--
extra : rebase_source : 732ef6ecc52f0e528d38b8c42e442919eba9b5ae
extra : source : 901b1c651c982ccbf42604231c723d168e1cde69
2015-09-29 13:39:33 -07:00
Steve Fink
57bca06b15 Backed out changeset 901b1c651c98 (bug 1246804)
--HG--
extra : rebase_source : d80a34f467275bf74672b87fd09a254b39ee20a1
2016-03-14 21:58:31 -07:00
Steve Fink
2dada4b1a0 Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
MozReview-Commit-ID: HCcG2k8Wyb9

--HG--
extra : rebase_source : 4b048fdcb150662c82e1b623e455551cc7281251
2015-09-29 13:39:33 -07:00
Terrence Cole
4ed1c831e9 Bug 1244909 - Store all persistent roots on the JSRuntime; r=sfink 2016-02-11 13:04:10 -08:00
Terrence Cole
537d4adc58 Bug 1247328 - Make PersistentRooted fully support Move semantics; r=sfink
--HG--
extra : rebase_source : fb4ccb31648f27b75c3088636a9cafd0934b6082
2016-02-10 12:28:18 -08:00
Terrence Cole
dcd54c45e5 Bug 1246697 - Use simpler semantics for PersistentRooted<Traceable>; r=sfink
--HG--
extra : rebase_source : 4b67513c7c9b9405f06c0d633af45c1b8d971393
2016-02-10 09:48:28 -08:00
Terrence Cole
245c375321 Bug 1244365 - Remove Traceable; r=sfink
--HG--
extra : rebase_source : 8e6498b6e379b026c70b4ba7d13d30b664eef4ed
2016-01-29 16:56:11 -08:00
Terrence Cole
681960447c Bug 1244358 - Support all types in PersistentRooted; r=sfink
--HG--
extra : rebase_source : 4b2d0c675075c1a0e19bad293ca255ba898f057c
2016-01-27 13:03:52 -08:00
Terrence Cole
309f950dae Bug 1243888 - Derive RootKind automatically from TraceKind; r=sfink
--HG--
extra : rebase_source : 4ea174eb95c36ac1452baa0ed44b4c99ff517d9e
2016-01-27 09:54:53 -08:00
Terrence Cole
52e9feb9d3 Bug 1234862 - Part 5: Rename DefaultGCPolicy to GCPolicy; r=sfink 2016-01-26 12:53:35 -08:00
Terrence Cole
eff749c612 Bug 1234862 - Part 1: Rename GCMethods to BarrierMethods; r=sfink
--HG--
extra : rebase_source : a773cf25e8e9986a154b8a8b0d04c6b9267545b8
2015-12-28 10:11:40 -08:00
Terrence Cole
2f587b2fc3 Bug 1226687 - Part 1: Export a GCPolicy usable by JS::Heap; r=fitzgen
--HG--
extra : rebase_source : 7ac38143297ef92265faefe6ce800b6c55dcaa64
2015-11-20 13:53:19 -08:00
Terrence Cole
2f08c5931f Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco
--HG--
extra : rebase_source : 56667af18db264805536e8e559c5dd8d8b2750b3
2015-11-17 11:32:53 -08:00
Terrence Cole
7b03f08dcb Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco
--HG--
extra : rebase_source : b485e16dc891f610359f7a10404184d631ff4b70
2015-11-17 11:31:52 -08:00
Terrence Cole
5a9e23aec9 Backout 02919b7d57d7 (Bug 1225233) for having regressed all the things.
--HG--
extra : rebase_source : 47a1afd6aff292442a0a552910230d9905686bf0
2015-11-17 16:55:46 -08:00
Terrence Cole
74d8258add Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco
--HG--
extra : rebase_source : 7a6e74ecfdb791f0188d4b8e7b73ca9b2078c425
2015-11-17 11:31:52 -08:00
Michael Wu
ed4b205b47 Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Terrence Cole
c5685d0363 Bug 1204594 - Use MOZ_RAII to replace GUARD_OBJECT where possible in the GC; r=sfink
--HG--
extra : rebase_source : 50eb4339b8fe16376c39a07978d61f6ea1f47eae
2015-09-15 12:12:26 -07:00
Michael Layzell
0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Steve Fink
683fec6f81 Bug 1195957 - Implement a Swap for Heap<T> that does not put temporaries on the stack, r=terrence
--HG--
extra : rebase_source : 12a82f83e9c7e6317fb2dc2a6d066ecf81beed05
2015-08-18 12:25:01 -07:00
Nick Fitzgerald
050a672216 Bug 1192456 - Use perfect forwarding for DispatchWrapper rather than explicit move and copy constructors. r=terrence
--HG--
extra : rebase_source : 68ee85bb409b0328eb935ddba00dc64e4f3efa86
2015-08-07 17:47:00 -04:00
Terrence Cole
5642c1e57a Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink
--HG--
extra : rebase_source : 388eda7d637ed89ef2da99408caec9ea91ca61cd
2015-07-28 09:21:32 -07:00
Terrence Cole
b63cc4b216 Bug 1189809 - Remove the ill-fated DynamicTraceable; r=jonco
--HG--
extra : rebase_source : 31b4c475a8459ef42f2be68bbf0f1ca3d5b7d0d4
2015-07-31 08:27:12 -07:00
Ehsan Akhgari
a056599e07 Bug 1188208 - Fix more constructors in js; r=jorendorff 2015-07-30 14:03:17 -04:00
Wes Kocher
8b46dd40ed Backed out changeset 54a082b01174 (bug 1188197) for various SM and CPP failures CLOSED TREE
--HG--
extra : amend_source : ab58a158fa9346c7c2b4991577f14119d0edbad8
2015-07-29 16:46:20 -07:00
Wes Kocher
d883fd1c98 Backed out changeset a5c748f78e97 (bug 1188445) 2015-07-29 16:46:19 -07:00
Terrence Cole
3940b5fcb7 Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink
--HG--
extra : rebase_source : 822ae00de85dc8c32158628fb89ae1463e185aea
2015-07-28 09:21:32 -07:00
Terrence Cole
59f4a2e6df Bug 1188197 - Allow PersistentRooted to store DynamicTraceable; r=sfink
--HG--
extra : rebase_source : 0e997c9ff3450fcabafcde37e639951d2dcd15a5
2015-07-24 15:09:28 -07:00
Nick Fitzgerald
c014d4c6dc Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-28 13:04:56 -07:00
Terrence Cole
31d9fa3fe0 Bug 1188129 - Use a universal constructor to create and init PersistentRooted; r=jonco
--HG--
extra : rebase_source : 73ef9f22833f266a2f3978f0875728fc42fd2a61
2015-07-24 15:08:09 -07:00
Terrence Cole
a4087728b5 Bug 1188124 - Use rootKind to select the right PersistentRooted list head; r=sfink
--HG--
extra : rebase_source : 8f2df6b63bddaac62e2b9def8564432625efaaaf
2015-07-23 14:05:53 -07:00
Wes Kocher
8c8c620553 Backed out 8 changesets (bug 1028418) for assertions in SavedStacks.cpp:103 CLOSED TREE
Backed out changeset 8f20146ce3c8 (bug 1028418)
Backed out changeset f6e78ff75f4b (bug 1028418)
Backed out changeset caf840e71590 (bug 1028418)
Backed out changeset ba47cb00a938 (bug 1028418)
Backed out changeset 3f298220d712 (bug 1028418)
Backed out changeset 7c2555a6e32e (bug 1028418)
Backed out changeset ed9287cd152a (bug 1028418)
Backed out changeset 88a5c0415403 (bug 1028418)
2015-07-27 17:52:01 -07:00
Nick Fitzgerald
0d13e50daf Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-27 16:33:34 -07:00
Terrence Cole
f0591ea02e Bug 1186156 - Move the PersistentRooted list heads into RootLists; r=sfink 2015-07-09 14:13:10 -07:00
Terrence Cole
e2f3fcd527 Bug 1186154 - Templatize Rooted's context parameter to reduce copy-and-paste; r=jonco 2015-07-21 12:57:00 -07:00
Andrew McCreight
7ddb648745 Bug 1185744 - Conversion from PersistentRooted to MutableHandle does not check for initialization. r=sfink 2015-07-22 11:31:49 -04:00
Terrence Cole
4819fcdd0f Bug 1185749 - Implement a DynamicTraceable HashMap subclass that can be used with Rooted; r=jonco
--HG--
extra : rebase_source : ec7e634e3cc4f6a60bddc613cda346ec9d347d89
2015-07-20 08:20:35 -07:00
Terrence Cole
7382819098 Bug 1181279 - Allow Rooted to handle generic Traceable entries; r=sfink
--HG--
extra : rebase_source : 50f7b7464045a47bb3dbfe0567a4b398badf2d5f
2015-07-20 07:50:36 -07:00
Terrence Cole
0e43f77f6c Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00