Adjust stack size for system_server
Change-Id: I926f07f911fdb78bc5d817ecf9a0820f463c49c8
diff --git a/src/thread.h b/src/thread.h
index 7412ea7..15ded24 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -85,7 +85,7 @@
// 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 4b33908..0344243 100644
--- a/src/thread_list.cc
+++ b/src/thread_list.cc
@@ -67,6 +67,9 @@
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() {