Simplify the default stack size handling.
The extra 16KB was just silly. We only need a notion of "default stack size"
if there's an explicit command-line override.
Change-Id: Ia63e00047a420546656ac8d2dad46789994157a3
diff --git a/src/runtime.cc b/src/runtime.cc
index 74f6652..fdbd70a 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -56,7 +56,7 @@
Runtime::Runtime()
: is_compiler_(false),
is_zygote_(false),
- default_stack_size_(Thread::kDefaultStackSize),
+ default_stack_size_(0),
heap_(NULL),
monitor_list_(NULL),
thread_list_(NULL),
@@ -312,8 +312,8 @@
parsed->heap_initial_size_ = Heap::kInitialSize;
parsed->heap_maximum_size_ = Heap::kMaximumSize;
- parsed->heap_growth_limit_ = 0; // 0 means no growth limit
- parsed->stack_size_ = Thread::kDefaultStackSize;
+ parsed->heap_growth_limit_ = 0; // 0 means no growth limit.
+ parsed->stack_size_ = 0; // 0 means default.
parsed->is_compiler_ = false;
parsed->is_zygote_ = false;