diff options
author | Elliott Hughes <enh@google.com> | 2012-04-12 16:01:09 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-04-12 16:01:09 -0700 |
commit | ce6603b52e6b2ef947cb308b1d7157e357bcba02 (patch) | |
tree | ba427180d484f1738c99598cfd4196451c8726b0 /vm/Thread.cpp | |
parent | b5f95ddf3c6d9f3fd9cf3ab9a9aab50e0e823272 (diff) | |
download | android_dalvik-ce6603b52e6b2ef947cb308b1d7157e357bcba02.tar.gz android_dalvik-ce6603b52e6b2ef947cb308b1d7157e357bcba02.tar.bz2 android_dalvik-ce6603b52e6b2ef947cb308b1d7157e357bcba02.zip |
Add a -XX:mainThreadStackSize= option.
Similar to -Xss, but for the main thread only.
Bug: 6315322
Change-Id: I84bd5974f830f348fd9a0486ae972520b4a02cc4
Diffstat (limited to 'vm/Thread.cpp')
-rw-r--r-- | vm/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/Thread.cpp b/vm/Thread.cpp index 01451f3a6..d82f15afe 100644 --- a/vm/Thread.cpp +++ b/vm/Thread.cpp @@ -282,7 +282,7 @@ bool dvmThreadStartup() gDvm.threadIdMap = dvmAllocBitVector(kMaxThreadId, false); - thread = allocThread(gDvm.stackSize); + thread = allocThread(gDvm.mainThreadStackSize); if (thread == NULL) return false; |