mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 20:21:21 +00:00
Increase thread stack size on Mac in debug mode.
After changing dart:io to use Futures the debug Mac build hit the stack limit during snapshot reading. Landing this to unbreak the build. R=sgjesse@google.com,asiva@google.com,iposva@google.com BUG= TEST= Review URL: https://chromiumcodereview.appspot.com//10389090 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7532 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
0a181379c7
commit
333b817631
|
@ -72,7 +72,7 @@ int Thread::Start(ThreadStartFunction function, uword parameter) {
|
|||
RETURN_ON_PTHREAD_FAILURE(result);
|
||||
|
||||
#ifdef DEBUG
|
||||
const int kStackSize = (256 * KB);
|
||||
const int kStackSize = (512 * KB);
|
||||
#else
|
||||
const int kStackSize = (128 * KB);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue