From ffc42db030f0740f1f4f16d57a30c8baf16e502d Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Fri, 25 Aug 2017 13:41:21 -0700 Subject: [PATCH] Reenable tight stacks sizes. MozReview-Commit-ID: GJkLyigMK34 --- components/style/gecko/global_style_data.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/gecko/global_style_data.rs b/components/style/gecko/global_style_data.rs index 61c763609e7..a4812b95a4f 100644 --- a/components/style/gecko/global_style_data.rs +++ b/components/style/gecko/global_style_data.rs @@ -9,6 +9,7 @@ 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; @@ -92,9 +93,8 @@ lazy_static! { .breadth_first() .thread_name(thread_name) .start_handler(thread_startup) - .exit_handler(thread_shutdown); - // Set thread stack size to 128KB. See Gecko bug 1376883. - //.stack_size(STYLE_THREAD_STACK_SIZE_KB * 1024); + .exit_handler(thread_shutdown) + .stack_size(STYLE_THREAD_STACK_SIZE_KB * 1024); let pool = rayon::ThreadPool::new(configuration).ok(); pool };