Commit Graph

201 Commits

Author SHA1 Message Date
Nick Fitzgerald
34ed606853 Bug 1277338 - Part 3: Make JS::Rooted and JS::PersistentRooted share the same MaybeWrapped<T> definition; r=sfink
They were previously using duplicate definitions and this DRYs them up. This is
needed because bindgen can't understand `mozilla::Conditional`, and so we want
to replace `MaybeWrapped` with something a little simpler when doing bindings
generation, and its easier if we don't have to repeat our desired replacement as
well.
2017-04-13 13:22:20 -07:00
Jon Coppeard
84d08ee0ab Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Jon Coppeard
430d5e3c95 Bug 1338614 - Refactor incremental barrier APIs and make them call the read barrier r=sfink 2017-02-13 11:11:09 +00:00
David Major
098d50df2c Bug 1262595: Reduce duplication of ConstNullValue across compilation units. r=sfink
MozReview-Commit-ID: K8MuV7RYRBI
2017-02-09 12:18:08 +13:00
Brian Hackett
bb30557e05 Bug 1325050 - Structure reorganization for multithreaded runtimes, r=jandem,jonco,h4writer,luke,lhansen,nbp. 2017-02-02 12:12:43 -07:00
Jon Coppeard
1508ed6b0f Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
Jon Coppeard
d108230318 Bug 1323241 - Only report things as gray if gray marking state is valid r=sfink 2017-01-06 11:23:21 +00:00
Steve Fink
ba86250240 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
c8f4913ae7 Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem 2016-11-04 17:32:36 +00:00
Jon Coppeard
863d796e4b Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Jon Coppeard
af173216e7 Bug 1306382 - Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8 2016-10-07 13:58:37 +02:00
Terrence Cole
ed32b698b3 Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa
8702cd4e9e Bug 1290337 - Part 6: Replace Value parameter to const Value& in RootingAPI. r=terrence 2016-09-11 18:15:22 +09:00
Terrence Cole
84430a3ce9 Backed out changeset d85334f696eb (bug 1285057) for implicitly depending on clang 3.8. 2016-09-23 15:59:55 -07:00
Terrence Cole
693eb020a3 Bug 1285057 - Blacklist UBSan detection of the GC's generic interfaces; r=sfink 2016-07-07 08:59:36 -07:00
Leo Gaspard
51e96afa63 Bug 1297244 - Assert on the type given as a parameter to Heap. r=terrence 2016-08-24 14:21:42 -07:00
Shu-yu Guo
45f2e559d8 Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo) 2016-08-25 01:28:47 -07:00
Jan de Mooij
a3f6c24c77 Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz 2016-08-12 11:39:16 +02:00
Jan de Mooij
7aaedf17ba Bug 1292892 part 2 - Some RootingContext cleanup. r=bz,terrence 2016-08-11 14:39:22 +02:00
Jan de Mooij
bd0f1c9018 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Chris Peterson
1fe3399948 Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink 2016-07-25 01:14:04 -07:00
Jon Coppeard
a8f38ffade 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
c35faf4632 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Jan de Mooij
7c3e2f8f9a Bug 1283855 part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence 2016-07-07 09:56:09 +02:00
dff2a97c7a Bug 1280789 - Unbreak mingw builds, r=sfink 2016-06-20 18:43:02 +01:00
Steve Fink
4163b62474 Bug 1272887 followup fix - alignas is not yet allowed, r=till 2016-06-07 20:31:37 -07:00
Steve Fink
ee0d198755 Bug 1272887 - Set alignment of PersistentRooted.ptr field for reinterpret_cast on win32, r=terrence
MozReview-Commit-ID: BMaft7pCX2q
2016-06-02 12:37:09 -07:00
Terrence Cole
5988a033db Bug 1266887 - Store Rooted heads on the Zone; r=sfink 2016-04-25 12:32:36 -07:00
Terrence Cole
d0e6186d27 Backout edb632ad80c4 (Bug 1266887) for regressing performance on windows. 2016-05-03 13:59:50 -07:00
Terrence Cole
315ff1f2c2 Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
Terrence Cole
7df444ff2b Bug 1266887 - Store Rooted heads on the Zone; r=sfink 2016-04-25 12:32:36 -07:00
Steve Fink
457aed81e0 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
2015-09-29 13:39:33 -07:00
Steve Fink
17318c6f9a Backed out changeset 901b1c651c98 (bug 1246804) 2016-03-14 21:58:31 -07:00
Steve Fink
0b23b6412a 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
2015-09-29 13:39:33 -07:00
Terrence Cole
0fd236f14d Bug 1244909 - Store all persistent roots on the JSRuntime; r=sfink 2016-02-11 13:04:10 -08:00
Terrence Cole
8edac9bbd3 Bug 1247328 - Make PersistentRooted fully support Move semantics; r=sfink 2016-02-10 12:28:18 -08:00
Terrence Cole
aa24afcb24 Bug 1246697 - Use simpler semantics for PersistentRooted<Traceable>; r=sfink 2016-02-10 09:48:28 -08:00
Terrence Cole
678aa50810 Bug 1244365 - Remove Traceable; r=sfink 2016-01-29 16:56:11 -08:00
Terrence Cole
583cdb23cb Bug 1244358 - Support all types in PersistentRooted; r=sfink 2016-01-27 13:03:52 -08:00
Terrence Cole
07bd527282 Bug 1243888 - Derive RootKind automatically from TraceKind; r=sfink 2016-01-27 09:54:53 -08:00
Terrence Cole
01a8cf9876 Bug 1234862 - Part 5: Rename DefaultGCPolicy to GCPolicy; r=sfink 2016-01-26 12:53:35 -08:00
Terrence Cole
37fef94174 Bug 1234862 - Part 1: Rename GCMethods to BarrierMethods; r=sfink 2015-12-28 10:11:40 -08:00
Terrence Cole
80531268a4 Bug 1226687 - Part 1: Export a GCPolicy usable by JS::Heap; r=fitzgen 2015-11-20 13:53:19 -08:00
Terrence Cole
3b6d0709d4 Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco 2015-11-17 11:32:53 -08:00
Terrence Cole
ba53d94893 Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco 2015-11-17 11:31:52 -08:00
Terrence Cole
7974cc1b41 Backout 02919b7d57d7 (Bug 1225233) for having regressed all the things. 2015-11-17 16:55:46 -08:00
Terrence Cole
1217332f1d Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco 2015-11-17 11:31:52 -08:00
Michael Wu
25eac535ad Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Terrence Cole
e33111553b Bug 1204594 - Use MOZ_RAII to replace GUARD_OBJECT where possible in the GC; r=sfink 2015-09-15 12:12:26 -07:00
Michael Layzell
a093510d49 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00