mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Revert rayon stack limits until we sort out the crashtest bustage.
This commit is contained in:
parent
72c59ff830
commit
be67bb87d4
2 changed files with 4 additions and 5 deletions
|
@ -9,7 +9,6 @@ use gecko_bindings::bindings;
|
|||
use gecko_bindings::bindings::{Gecko_RegisterProfilerThread, Gecko_UnregisterProfilerThread};
|
||||
use gecko_bindings::bindings::Gecko_SetJemallocThreadLocalArena;
|
||||
use num_cpus;
|
||||
use parallel::STYLE_THREAD_STACK_SIZE_KB;
|
||||
use rayon;
|
||||
use shared_lock::SharedRwLock;
|
||||
use std::cmp;
|
||||
|
@ -93,9 +92,9 @@ lazy_static! {
|
|||
.breadth_first()
|
||||
.thread_name(thread_name)
|
||||
.start_handler(thread_startup)
|
||||
.exit_handler(thread_shutdown)
|
||||
.exit_handler(thread_shutdown);
|
||||
// Set thread stack size to 128KB. See Gecko bug 1376883.
|
||||
.stack_size(STYLE_THREAD_STACK_SIZE_KB * 1024);
|
||||
//.stack_size(STYLE_THREAD_STACK_SIZE_KB * 1024);
|
||||
let pool = rayon::ThreadPool::new(configuration).ok();
|
||||
pool
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue