Commit Graph
207 Commits
Author SHA1 Message Date
Jon Coppeard 7cf73e4d55 Bug 1402649 - Fix valid GC cell pointer asserts and error handling in module instantiation r=sfink 2017-09-26 10:23:14 +01:00
Yoshi Huang 2bea43e615 Bug 1399399 - Move internal classes out of RootingAPI.h. r=jonco 2017-09-25 14:52:16 +08:00
Jon Coppeard c2a5d03f36 Bug 1399944 - Check for valid GC cell pointers in various places r=sfink 2017-09-19 12:31:31 +01:00
Jon Coppeard c917719910 Bug 1370869 - Don't copy scope data in XDR decode r=shu 2017-06-12 10:43:46 +01:00
Jon Coppeard 8f3e1eaa2f Bug 1362977 - Rename CellSize to CellAlignBytes and improve the naming of related constants r=sfink 2017-05-09 11:38:32 +01:00
Bill McCloskey 99b84aa84e Bug 1359245 - Remove CycleCollectedJSRuntime::mJSContext (r=mccr8,sfink)
This patch eliminates a field where we assume that there is one
CycleCollectedJSContext per runtime.

MozReview-Commit-ID: 5cEL5Ml6Y9v
2017-04-27 15:34:46 -07:00
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