summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/thread.h2
-rw-r--r--src/thread_list.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h
index 7412ea738d..15ded2490c 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -85,7 +85,7 @@ class PACKED Thread {
// Space to throw a StackOverflowError in.
static const size_t kStackOverflowReservedBytes = 4 * KB;
- static const size_t kDefaultStackSize = 64 * KB;
+ static const size_t kDefaultStackSize = 96 * KB;
// Runtime support function pointers
void (*pDebugMe)(Method*, uint32_t);
diff --git a/src/thread_list.cc b/src/thread_list.cc
index 4b33908e4a..03442439ef 100644
--- a/src/thread_list.cc
+++ b/src/thread_list.cc
@@ -67,6 +67,9 @@ ThreadList::ThreadList(bool verbose)
thread_exit_cond_("thread_exit_cond_"),
thread_suspend_count_lock_("thread suspend count lock"),
thread_suspend_count_cond_("thread_suspend_count_cond_") {
+ if (verbose_) {
+ LOG(INFO) << "default stack size " << Runtime::Current()->GetDefaultStackSize() / KB << "kb";
+ }
}
ThreadList::~ThreadList() {