Commit Graph

63 Commits

Author SHA1 Message Date
Jon Coppeard
7c5ab787ba Bug 1345177 - Make RegExpShared a GC thing r=sfink 2017-03-27 10:38:29 +01:00
Jon Coppeard
f2dc766532 Backed out changesets e66f564d9749 and 0380d914ad39 (bug 1345177) for rooting hazards 2017-03-27 11:09:54 +01:00
Jon Coppeard
0f25381dd3 Bug 1345177 - Make RegExpShared a GC thing r=sfink 2017-03-27 10:38:29 +01:00
Jon Coppeard
43ae9b7fe3 Bug 1335751 - Add js::CheckGrayMarkingState friend API to check there are black to gray edges r=sfink 2017-03-05 09:23:09 +00:00
Jon Coppeard
c2100b97ac Backed out 2 changesets (bug 1335751) for mochitest devtools failures 2017-03-05 12:37:31 +00:00
Jon Coppeard
cc99c69f4a Bug 1335751 - Add js::CheckGrayMarkingState friend API to check there are black to gray edges r=sfink 2017-03-05 09:23:09 +00:00
Jon Coppeard
457a2efccd Bug 1318384 - Remove barriers on Zone typed object descriptors set to avoid reviving compartments r=billm 2016-11-23 10:15:05 +00: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
bd0f1c9018 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Steve Fink
227c6d30c9 No bug. Comment TracerKindTag values. r=me, a=DONTBUILD
MozReview-Commit-ID: EJbBTKpQgNo
2016-06-17 01:46:51 +01:00
Jon Coppeard
9e02c10447 Bug 1272604 - Add a zeal mode to check the heap after a moving GC r=terrence 2016-05-16 14:23:09 +01:00
Terrence Cole
6b5dca8a9c Bug 1233862 - Add a WeakCache builtin to automatically manage sweeping; r=sfink 2015-12-18 14:50:20 -08:00
Nick Fitzgerald
29677fe39a Bug 1254092 - TraceIncomingCCWs should work at the JSCompartment level of granularity. r=jimb
There can be multiple compartments within the same zone, only one of which is a
debuggee. In this scenario, CCWs from other compartments into the debuggee
compartment should be traced and treated as roots. Therefore, dealing with CCWs
at the JS::Zone level is incorrect, and this patch changes the granularity level
to JSCompartments. If you look at the callers and uses of the function, it makes
much more sense now.

Additionally, it renames `JS_TraceIncomingCCWs` to `JS::TraceIncomingCCWs`.
2016-03-14 16:11:00 +01:00
Terrence Cole
01a8cf9876 Bug 1234862 - Part 5: Rename DefaultGCPolicy to GCPolicy; r=sfink 2016-01-26 12:53:35 -08:00
Terrence Cole
6ca4b8d7b7 Bug 1238786 - Part 1: Allow null pointers in public tracing APIs; r=sfink 2016-01-12 13:07:53 -08:00
Terrence Cole
a5f6dd0e5f Bug 1238779 - Remove the unused and nonsensical JS_TraceRuntime; r=fitzgen 2016-01-12 13:07:54 -08:00
Luke Wagner
0d1221c9f1 Bug 1238195 - Switch over some AutoVectorRooters to Rooted<TraceableVector>s and fill in some missing support (r=terrence) 2016-01-11 12:37:11 -06:00
Terrence Cole
82243fa285 Bug 1235923 - Part 1: Add C++ APIs for unbarriered pointer tracing; r=sfink 2015-12-30 10:10:29 -08:00
Terrence Cole
d468bfbdaf Backout 9dfd86b06459c257390c2514380a09456b008e33 (Bug 1235923) for build bustage on a CLOSED TREE. 2016-01-06 12:05:08 -08:00
Terrence Cole
9ebf06c81c Bug 1235923 - Part 1: Add C++ APIs for unbarriered pointer tracing; r=sfink 2015-12-30 10:10:29 -08:00
Terrence Cole
2e1caf0010 Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink 2015-12-30 08:52:12 -08:00
Steve Fink
37706a290d Bug 1225298 - Use GCHashMap for UniqueIdMap, r=terrence 2015-11-18 17:37:03 -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
Steve Fink
55b2776a22 Bug 1225298 - Use GC policy mechanism for sweeping hashtable-based collections. r=terrence 2015-11-17 11:33:15 -08:00
Terrence Cole
3b6d0709d4 Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco 2015-11-17 11:32:53 -08:00
Terrence Cole
69886af899 Bug 1220310 - Generalize GC container trace function dispatch as GCPolicy; r=sfink 2015-11-03 07:08:05 -08:00
Terrence Cole
e75b98bdea Bug 1219419 - Keep DefaultTracer simple for now; r=fitzgen 2015-10-28 13:42:16 -07: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
Terrence Cole
fac1f2836b Bug 1199843 - Part 3: Strongly type JS::TraceChildren; r=jonco r=mccr8 2015-09-02 11:34:36 -07:00
Steve Fink
eab0da02ff Bug 1164294 - Implement a linear-time ephemeron marking algorithm, r=terrence, r=jonco 2015-08-12 16:55:40 -07:00
Terrence Cole
19022b5f4a Bug 1191529 - Remove JSIdArray and AutoIdArray and replace with Rooted<IdVector>; r=mccr8, r=jonco
* * *
imported patch 2_remove_AutoIdArray_gk
2015-08-05 11:02:00 -07:00
Terrence Cole
92daf86adc Bug 1189072 - Make DefaultTracer for struct types call T::trace; r=fitzgen 2015-07-29 14:59:49 -07:00
Jim Blandy
78553d672c Bug 1180017 - Give GCCellPtr is<T> and to<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-03 15:06:23 -07:00
Carsten "Tomcat" Book
3f73d055c1 Backed out changeset 465793bc6fcf (bug 1180017) for suspicion of causing bug 1188799 2015-07-29 15:27:12 +02:00
Jim Blandy
fa3e0820db Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-07 09:52:01 -07:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Terrence Cole
53f433726a Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8 2015-06-11 10:03:33 -07:00
Terrence Cole
bed04fe17f Bug 1169086 - Use virtual dispatch to implement callback tracer; r=jonco, r=mccr8 2015-05-28 16:35:08 -07:00
Terrence Cole
e24f4d1f6b Bug 1167795 - Share the root and child tracing code in DumpHeapComplete; r=mccr8 2015-05-26 09:17:12 -07:00
Terrence Cole
71589e5cf0 Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco 2015-05-22 10:40:24 -07:00
Terrence Cole
d1653fefc9 Bug 1161726 - Use a custom tracer for tenuring to avoid the indirect calls; r=jonco 2015-05-04 17:36:31 -07:00
Terrence Cole
3aa1bd2032 Bug 1161353 - Remove the post-barrier verifier; r=sfink 2015-05-04 17:34:38 -07:00
Terrence Cole
c0c8018818 Bug 1159540 - Organize and comment the marking paths; r=sfink 2015-04-29 10:23:24 -07:00
Terrence Cole
5cefcff69b Bug 1158809 - Only use a single output from getTracingEdgeName; r=jonco 2015-04-28 10:28:56 -07:00
Brian Hackett
c85e5fa58f Bug 1155033 - Handle cyclic or deep ObjectGroup tracing chains during cycle collection, r=terrence. 2015-04-24 18:22:15 -06:00
Benjamin Bouvier
e91b9fe658 Bug 1157628: Reformat spidermonkey source directory, again; r=jandem 2015-04-23 12:22:36 +02:00
Terrence Cole
4d9465e2f8 Bug 1153959 - Use RAII to manage tracing details; r=jonco 2015-04-10 13:33:56 -07:00
Terrence Cole
c537362f21 Bug 1147180 - Introduce a new, strongly-typed tracing path; r=jonco, r=sfink 2015-02-26 14:15:26 -08:00
Jan de Mooij
c6596c5fa8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00