Jon Coppeard
91bf31754d
Bug 1396156 - Fix unused private field error when building AutoAssertNoGC as Beta. r=sfink
2017-09-04 02:25:00 -04:00
Olli Pettay
8cae9c47d0
Bug 1377131 - Try to trigger collector slices at times which disturb page js less (at least with iframes loaded after the top level page has been loaded), r=mccr8,bz
...
When triggering an iframe load or starting to parse a document for an iframe, the main thread may often have some time before the new page has been created. Try to trigger CC/GC slice at such point in order to avoid collector later when page is already executing its JS
2017-09-06 18:18:11 +01:00
Jon Coppeard
4effc1d0b6
Bug 1384513 - Remove AutoAssertNoAlloc r=sfink
2017-09-01 10:13:51 +01:00
Till Schneidereit
43f4ed28ce
Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco
...
Additionally, change the base class of AutoSuppressGCAnalysis from AutoAssertNoAlloc to AutoAssertNoGC.
In combination, these chances enable passing either JS::AutoCheckCannotGC or JS::AutoSuppressGCAnalysis, depending on whether suppressing the GC analysis is desired or not.
MozReview-Commit-ID: Eg1cl28ezeJ
* * *
Bug 1384513 - Follow-up to fix bustage from template usage of functions with a changed signature, on a CLOSED TREE. r=bustage
MozReview-Commit-ID: 5SsI4DoDwAT
2017-07-26 12:20:59 +02:00
Jan de Mooij
a25815c76b
Backed out changeset 000f28217a30 (bug 1384513) for perf regressions.
2017-08-01 10:42:04 +02:00
Till Schneidereit
0b8d62664f
Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco
...
Additionally, change the base class of AutoSuppressGCAnalysis from AutoAssertNoAlloc to AutoAssertNoGC.
In combination, these chances enable passing either JS::AutoCheckCannotGC or JS::AutoSuppressGCAnalysis, depending on whether suppressing the GC analysis is desired or not.
MozReview-Commit-ID: Eg1cl28ezeJ
2017-07-26 14:38:29 +02:00
Jon Coppeard
a90b7a7fc8
Bug 1374797 - Fix logic around triggering atoms GCs r=sfink
2017-07-25 11:28:41 +01:00
Jon Coppeard
57481af7a3
Bug 1380778 - Fixup shape pointers into the nursery using a dedicated list r=sfink
2017-07-17 10:54:12 +01:00
Jon Coppeard
1e681900b9
Bug 1381058 - Split full store buffer reasons into a separate reason for each store buffer r=sfink
2017-07-17 10:54:12 +01:00
Jon Coppeard
3f6a9f7843
Bug 1377466 - Rename PokeGC and add a reason code for GCs triggered by this r=sfink
2017-07-11 17:17:17 +01:00
Jan de Mooij
5471b43b21
Bug 1368325 - Remove JSContext::allowGCBarriers and related code as it's not used anywhere. r=billm
2017-06-16 10:40:57 +02:00
Nicolas B. Pierron
6c8516f1ee
Bug 1364120 - Remove FINISH_LARGE_EVALUATE gc. r=jonco
2017-05-24 18:14:31 +00:00
Steve Fink
4eb2cc482d
Bug 1364547 - Tell Gecko whether a slice is a final slice, r=jonco,mccr8
2017-05-12 16:46:43 -07:00
Steve Fink
394489347e
Bug 1364547 - Call the slice end callback for every slice, r=jonco
...
Currently, the final slice of an incremental GC only gets a GC_CYCLE_END callback, not a GC_SLICE_END callback. So if you are doing anything that expects to see all of the slices, you will be missing one.
Simplify the setup so that every GC is bracketed with CYCLE_BEGIN/END, and every slice is bracketed with SLICE_BEGIN/END, treating a nonincremental as a GC with a single slice (which it is for everything else.)
2017-05-15 08:06:24 -07:00
Steve Fink
7c0c4ef112
Bug 1322560 - Record minor GC timings in profiles, r=jonco, mccr8, mstange
2017-04-25 13:24:34 -07:00
Steve Fink
0155a00a45
Bug 1322560 - Add APIs for retrieving major GC timing info, r=jonco
2017-05-02 15:45:43 -07: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
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