diff options
-rw-r--r-- | runtime/thread_linux.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/thread_linux.cc b/runtime/thread_linux.cc index 0731f3091..9d54eba34 100644 --- a/runtime/thread_linux.cc +++ b/runtime/thread_linux.cc @@ -36,11 +36,11 @@ static void SigAltStack(stack_t* new_stack, stack_t* old_stack) { } // The default SIGSTKSZ on linux is 8K. If we do any logging in a signal -// handler this is too small. We allocate 16K instead or the minimum signal -// stack size. +// handler or do a stack unwind, this is too small. We allocate 32K +// instead of the minimum signal stack size. // TODO: We shouldn't do logging (with locks) in signal handlers. static constexpr int kHostAltSigStackSize = - 16 * KB < MINSIGSTKSZ ? MINSIGSTKSZ : 16 * KB; + 32 * KB < MINSIGSTKSZ ? MINSIGSTKSZ : 32 * KB; void Thread::SetUpAlternateSignalStack() { // Create and set an alternate signal stack. |