mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* cont.c: bump up fiber machine stack size when running on 64bit
arch. [Bug #6344] [ruby-dev:45554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c196e22a42
commit
5c56769118
2 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri May 18 17:25:33 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* cont.c: bump up fiber machine stack size when running on 64bit
|
||||
arch. [Bug #6344] [ruby-dev:45554]
|
||||
|
||||
Fri May 18 15:20:56 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/uri/generic.rb (URI::Generic.build): duplicate args before adding
|
||||
|
|
9
cont.c
9
cont.c
|
@ -47,8 +47,13 @@
|
|||
#define RB_PAGE_SIZE (pagesize)
|
||||
#define RB_PAGE_MASK (~(RB_PAGE_SIZE - 1))
|
||||
static long pagesize;
|
||||
#define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x10000)
|
||||
#endif
|
||||
|
||||
#if SIZEOF_VOIDP==8
|
||||
#define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x100000)
|
||||
#else
|
||||
#define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x10000)
|
||||
#endif
|
||||
#endif /*FIBER_USE_NATIVE*/
|
||||
|
||||
#define CAPTURE_JUST_VALID_VM_STACK 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue