Commit Graph

138 Commits

Author SHA1 Message Date
Jon Coppeard
591ec11f61 Bug 1305236 - Don't call ExposeObjectToActiveJS on null pointer r=smaug 2016-09-29 10:18:50 +01:00
Terrence Cole
dea2d7e2f4 Bug 1296484 - Automatically run a CC if COMPARTMENT_REVIVED GC ends mostly gray; r=jonco,r=mccr8
--HG--
extra : rebase_source : 94482f4c09e640ca9e0436316c992457dd5b9f61
2016-08-18 13:30:32 -07:00
Wes Kocher
00bdbfd6e2 Backed out changeset bbd6bdd463b1 (bug 1296484) for asan leaks in XPCJSRuntime a=backout 2016-08-25 17:25:00 -07:00
Terrence Cole
1432ea6638 Bug 1296484 - Automatically run a CC if COMPARTMENT_REVIVED GC ends mostly gray; r=jonco,r=mccr8
--HG--
extra : rebase_source : 26aa07342c0b286d772422401bd7d5dd4efbb2fa
2016-08-18 13:30:32 -07:00
Jon Coppeard
a30843aba8 Bug 1297026 - Replace outdated references to 'compartment GC' with 'zone GC' r=terrence 2016-08-25 12:00:56 +01:00
Phil Ringnalda
b25ad4c181 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
d00af19508 Bug 1296484 - Automatically CycleCollect if COMPARTMENT_REVIVED GC ends mostly gray; r=mccr8,r=jonco
--HG--
extra : rebase_source : d8df564fb782c4d8cfa4a5b153e5cda00e6343a2
2016-08-18 13:30:32 -07:00
Jon Coppeard
187d91a66e Bug 1296639 - Remove SpiderMonkey's periodic full GC r=sfink 2016-08-22 11:14:24 +01:00
Sebastian Hengst
55ccc927a5 Backed out changeset 325bdb8f8f80 (bug 1110928) 2016-08-21 12:27:51 +02:00
Andrew McCreight
0e61ad42e5 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
e0ae8a8c5a 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
fd0edec3bf 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
7cf17460c7 Bug 1251463 - Remove ShrinkGCBuffers; r=jonco,r=mccr8
--HG--
extra : rebase_source : e185ec4d3a043bb7227fdc0a296a14811741cf17
2016-02-25 15:52:59 -08: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
Jan de Mooij
7ec38687c8 Bug 1283855 part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco
--HG--
extra : rebase_source : b666bd88d0247b58f7311f81e5116199779cc806
2016-07-07 09:55:45 +02:00
Jan de Mooij
1ffe7cc891 Bug 1283855 part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
Jan de Mooij
b65490b7da 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
3bd7eaa33a 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
f1abc86304 Bug 1259850 - In-source annotations for GC suppression, r=terrence
MozReview-Commit-ID: HaSt3RVV6CM

--HG--
extra : rebase_source : f607cee411ac438e9f17095cd7b5732ccf325443
extra : source : 129559d4ac621b3801e41ce10db1cb4b1a6786da
2016-05-19 12:53:29 -07:00
Wes Kocher
74c78019e7 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
7ef77cb0e1 Bug 1259850 - In-source annotations for GC suppression, r=terrence
MozReview-Commit-ID: HaSt3RVV6CM

--HG--
extra : rebase_source : 9208edf58765abab960fa7188070704ee5bcbf56
2016-05-19 12:53:29 -07:00
Nicholas Nethercote
a36723b8a8 Bug 1267551 (part 8) - Use MOZ_MUST_USE more in js/src/gc/. r=terrence.
--HG--
extra : rebase_source : bb87bee366dcc3c5f14f15532a902ac0b5e430a5
2016-05-09 11:17:26 +10: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
Nick Fitzgerald
59008f94c6 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
445de2814b 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
6ebd19920f Bug 1239601 - improve the UniquePtr situation (r=jorendorff)
--HG--
extra : commitid : FwqWNSZ3SKY
extra : rebase_source : 75ed67bfadcbdaeb5bf89a57ad6ca9ef75b7f1f0
2016-01-15 18:26:06 -06:00
Michael Wu
ed4b205b47 Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Jon Coppeard
8acc0315a3 Bug 1088214 - Remove JSCLASS_IMPLEMENTS_BARRIERS now this is implemented everywhere r=terrence 2015-09-02 10:40:10 +01:00
Birunthan Mohanathas
a8939590de 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
c32fef3104 Bug 1159506 - Make GC events use TimeStamp. r=terrence 2015-06-17 15:14:00 -04:00
Eric Rahm
ecfdabcb72 Bug 1171722 - Part 2: Add gcreason::XPCONNECT_SHUTDOWN. r=terrence 2015-06-10 21:31:32 -07:00
Eric Rahm
feb635048a Bug 1171722 - Part 1: Add gcreason to GCSliceCallback. r=fitzgen 2015-06-10 21:31:31 -07:00
Terrence Cole
6580e192db Bug 1166789 - Cleanup javascript.options.mem.log formatting; r=sfink, r=mccr8
--HG--
extra : rebase_source : 23f05745a2bfffbebab21fdcba4f7adf47616e8a
2015-05-20 09:14:29 -07:00
Terrence Cole
c01ef51c2d Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco
--HG--
extra : rebase_source : 7dbeee0826fa20477ed227c9d336fdfe6de6ffd2
2015-05-22 10:40:24 -07:00
Terrence Cole
cbb419a12e Bug 1161353 - Remove the post-barrier verifier; r=sfink
--HG--
extra : rebase_source : c145ee6b66e89cba88db807ac4bb531f4034aa89
2015-05-04 17:34:38 -07:00
Nick Fitzgerald
1bbdc65eb9 Bug 1150253 - Part 1: SpiderMonkey should call an embedder-provided callback
instead of running the onGarbageCollection hook immediately; r=sfink
2015-04-22 09:43:02 -07:00
Jon Coppeard
d68d8d5ba3 Bug 1149752 - Cancel GC caused by user inactivity if the user becomes active again r=terrence r=smaug 2015-04-13 16:42:41 +01:00
Jan de Mooij
b8b1677f0f Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Jon Coppeard
2b3e9874b8 Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Ryan VanderMeulen
b8ac223995 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
Jon Coppeard
d6e694292c Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
5e9b465d18 Bug 1133759 - Always shrink GC buffers at the end of a shrinking GC r=terrence 2015-02-18 12:35:05 +00:00
Terrence Cole
88fdd783d6 Bug 1130475 - Part 1: Move last-ditch IGC heap overflow trigger to CheckAllocatorState; r=sfink
--HG--
extra : rebase_source : e6a5ac26fe8a747c22cc39314909f56740d48c14
2015-02-06 13:26:15 -08:00
Terrence Cole
606e7f9ff7 Bug 1130226 - Part 2: Rename MAYBEGC to EAGER_ALLOC_TRIGGER and fix some improper uses; r=jonco
--HG--
extra : rebase_source : 2e2e79921503fda34f7904eaa2566fb761e8a88d
2015-02-05 17:41:56 -08:00
Jon Coppeard
6136d65f9b Bug 1127792 - Add a pref to globally disable compacting GC r=terrence r=mccr8 r=bent 2015-02-02 14:39:34 +00:00
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00