Bug 1456115 - Increase stack sizes when using audioipc. r=jya
authorPaul Adenot <paul@paul.cx>
Wed, 25 Apr 2018 12:28:14 +0200
changeset 469070 c4b87fb85648eb1309d3135489371a0a713b366f
parent 469069 956b62a9c5a437c2bfdfac6605332283f9c14086
child 469071 d83f412c924cf989b94928b5eed23732e8015b82
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1456115
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1456115 - Increase stack sizes when using audioipc. r=jya This patch set calls a bit deeper in the audio callback thread (down into opus, in particular). MozReview-Commit-ID: 6LWACS6V0Yz
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -590,18 +590,18 @@ pref("media.video_stats.enabled", true);
 // Log level for cubeb, the audio input/output system. Valid values are
 // "verbose", "normal" and "" (log disabled).
 pref("media.cubeb.logging_level", "");
 
 // Cubeb sandbox (remoting) control
 #ifdef XP_LINUX
 pref("media.cubeb.sandbox", true);
 pref("media.audioipc.pool_size", 2);
-// 64 kB stack per pool thread.
-pref("media.audioipc.stack_size", 65536);
+// 64 * 4 kB stack per pool thread.
+pref("media.audioipc.stack_size", 262144);
 #else
 pref("media.cubeb.sandbox", false);
 #endif
 
 pref("media.webaudio.audiocontextoptions-samplerate.enabled", true);
 
 // Weather we allow AMD switchable graphics
 pref("layers.amd-switchable-gfx.enabled", true);