Commit Graph

155 Commits

Author SHA1 Message Date
Jon Coppeard
48dadf1863 Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink
* * *
Code review followup
2017-04-26 11:18:39 +01:00
Jan de Mooij
d2c517ca34 Bug 1359077 - Optimize a few things in ExposeGCThingToActiveJS. r=jonco 2017-04-25 15:07:55 +02:00
Jon Coppeard
f827d9359c Bug 1359001 - Make AutoAssertGCCallback a no-op in opt builds r=sfink 2017-04-25 10:56:34 +01:00
Jon Coppeard
9fa18dfc59 Bug 1355065 - Remove unused read barrier API r=jandem 2017-04-12 09:58:47 +01: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
Brian Hackett
ceaec99607 Bug 1337117 - Remove references to main thread in the JS engine, r=jandem. 2017-02-11 05:27:32 -07:00
Jon Coppeard
11ea8805c2 Bug 1322420 - Expose cells found via iteration r=sfink a=abillings 2017-02-10 10:22:38 +00: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
Bill McCloskey
ded706a277 Back out bug 1308039 - GC interrupt callbacks (a=backout)
This reverts commit 1fc1a2e080a1d9012f0ad651243766540daf139f.

MozReview-Commit-ID: BvHIIj1t3M8
2017-01-11 13:19:58 -08: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
adc0017689 Bug 1173354 - Switch GC statistics over to TimeStamp/TimeDuration, r=jonco 2016-12-22 13:43:42 -08:00
Jon Coppeard
c3228b08de Bug 1313098 - Assert we only access heap state on the main thread r=sfink r=mccr8 2016-11-04 17:32:36 +00:00
Jon Coppeard
da70839c85 Bug 1310147 - Remove AutoAssertNoAlloc and replace with AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Jon Coppeard
bb10b7dd94 Bug 1310147 - Rename AutoAssertOnGC to AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Bill McCloskey
63dd567311 Bug 1308039 - GC interrupt callbacks (r=jonco) 2016-10-10 18:06:17 -07:00
Bill McCloskey
45f2450057 Bug 1308039 - Add AutoAssertOnBarrier (r=jonco) 2016-10-10 18:06:16 -07:00
Bill McCloskey
04c4f4bacf Bug 1308039 - Convert AutoAssertOnGC to release assertion (r=jonco) 2016-10-10 18:06:15 -07:00
Jon Coppeard
08749bf8d7 Bug 1305236 - Don't call ExposeObjectToActiveJS on null pointer r=smaug 2016-09-29 10:18:50 +01:00
Terrence Cole
90ea7dfc89 Bug 1296484 - Automatically run a CC if COMPARTMENT_REVIVED GC ends mostly gray; r=jonco,r=mccr8 2016-08-18 13:30:32 -07:00
Wes Kocher
5347cf1a99 Backed out changeset bbd6bdd463b1 (bug 1296484) for asan leaks in XPCJSRuntime a=backout 2016-08-25 17:25:00 -07:00
Terrence Cole
8fa2bf2b33 Bug 1296484 - Automatically run a CC if COMPARTMENT_REVIVED GC ends mostly gray; r=jonco,r=mccr8 2016-08-18 13:30:32 -07:00
Jon Coppeard
ce1b5fc84b Bug 1297026 - Replace outdated references to 'compartment GC' with 'zone GC' r=terrence 2016-08-25 12:00:56 +01:00
Phil Ringnalda
fa363260e6 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
0d691565d3 Bug 1296484 - Automatically CycleCollect if COMPARTMENT_REVIVED GC ends mostly gray; r=mccr8,r=jonco 2016-08-18 13:30:32 -07:00
Jon Coppeard
565fb6f39f Bug 1296639 - Remove SpiderMonkey's periodic full GC r=sfink 2016-08-22 11:14:24 +01:00
Sebastian Hengst
0081add41b Backed out changeset 325bdb8f8f80 (bug 1110928) 2016-08-21 12:27:51 +02:00
Andrew McCreight
6ecea72b79 Bug 1110928, part 3 - Add a method to schedule the system zone for GC. r=terrence
MozReview-Commit-ID: 4L3iQMPWGNe
2016-08-19 15:26:56 -07:00
Jan de Mooij
7745591aa5 Bug 1286795 part 5 - Change some classes to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:53:03 +02:00
Jan de Mooij
705fa31f27 Bug 1286795 part 4 - Change some callbacks to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:52:47 +02:00
Terrence Cole
1a00fe7507 Bug 1251463 - Remove ShrinkGCBuffers; r=jonco,r=mccr8 2016-02-25 15:52:59 -08: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
Jan de Mooij
a3ac62d76c Bug 1283855 part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco 2016-07-07 09:55:45 +02:00
Jan de Mooij
43c0eb9efc Bug 1283855 part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8 2016-07-07 09:55:41 +02:00
Jan de Mooij
ba6280ef51 Bug 1281529 part 4 - Remove JSContext overloads of some functions that are no longer necessary. r=jonco 2016-06-28 11:57:15 +02:00
Jan de Mooij
220acfd211 Bug 1282113 - When we're shutting down the runtime, only allow shutdown GCs. r=terrence 2016-06-28 11:56:08 +02:00
Steve Fink
2be1849f2e Bug 1259850 - In-source annotations for GC suppression, r=terrence
MozReview-Commit-ID: HaSt3RVV6CM
2016-05-19 12:53:29 -07:00
Wes Kocher
c88dabf186 Backed out 22 changesets (bug 1259850) for GC crashes in various tests CLOSED TREE
Backed out changeset ef5cdcca45d9 (bug 1259850)
Backed out changeset c95bdd426ced (bug 1259850)
Backed out changeset a73f74f718e7 (bug 1259850)
Backed out changeset 95107c3ad9cf (bug 1259850)
Backed out changeset 788ac18818c9 (bug 1259850)
Backed out changeset 19c13aa9b5ad (bug 1259850)
Backed out changeset 0b9dedcf7163 (bug 1259850)
Backed out changeset b641d01138ab (bug 1259850)
Backed out changeset aa434447a11b (bug 1259850)
Backed out changeset 4c7373c6c29e (bug 1259850)
Backed out changeset 457cb29cad55 (bug 1259850)
Backed out changeset 5762a8fba027 (bug 1259850)
Backed out changeset 129559d4ac62 (bug 1259850)
Backed out changeset d00b9c8a7984 (bug 1259850)
Backed out changeset 266befcb8acd (bug 1259850)
Backed out changeset c6615c7b0083 (bug 1259850)
Backed out changeset 196ac1f813f9 (bug 1259850)
Backed out changeset b6108a65dc38 (bug 1259850)
Backed out changeset 0d58f8529b86 (bug 1259850)
Backed out changeset a8d2730ada95 (bug 1259850)
Backed out changeset e8544b072ee6 (bug 1259850)
Backed out changeset 15de0d1d0b05 (bug 1259850)
2016-05-31 11:15:41 -07:00
Steve Fink
4b4086e92b Bug 1259850 - In-source annotations for GC suppression, r=terrence
MozReview-Commit-ID: HaSt3RVV6CM
2016-05-19 12:53:29 -07:00
Nicholas Nethercote
8906456876 Bug 1267551 (part 8) - Use MOZ_MUST_USE more in js/src/gc/. r=terrence. 2016-05-09 11:17:26 +10: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
Nick Fitzgerald
9eac0c0841 Bug 1233831 - Part 2: Expose JS::gcreason::ExplainReason to embedders; r=terrence
This renames the internal function `js::gcstats::ExplainReason` to
`JS::gcreason::ExplainReason` and publicly exposes it to embedders.
2016-01-19 12:48:22 -08:00
Nick Fitzgerald
326fb7acd4 Bug 1233831 - Part 0: JSAPI plumbing for nursery collection callbacks; r=terrence
This commit adds the relatively boring plumbing needed to expose methods to set
callbacks that get fired on nursery collection start and end, as well as storing
said callbacks internally.
2016-01-19 12:48:22 -08:00
Luke Wagner
c9adf369ac Bug 1239601 - improve the UniquePtr situation (r=jorendorff) 2016-01-15 18:26:06 -06:00
Michael Wu
25eac535ad Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Jon Coppeard
3501cbd22d Bug 1088214 - Remove JSCLASS_IMPLEMENTS_BARRIERS now this is implemented everywhere r=terrence 2015-09-02 10:40:10 +01: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
Tom Tromey
6efc8c6151 Bug 1159506 - Make GC events use TimeStamp. r=terrence 2015-06-17 15:14:00 -04:00
Eric Rahm
4f6d27de72 Bug 1171722 - Part 2: Add gcreason::XPCONNECT_SHUTDOWN. r=terrence 2015-06-10 21:31:32 -07:00