[前][次][番号順一覧][スレッド一覧]

ruby-changes:23646

From: kosaki <ko1@a...>
Date: Fri, 18 May 2012 18:10:57 +0900 (JST)
Subject: [ruby-changes:23646] kosaki:r35697 (trunk): decrease fiber stack size. 1MB is too large for windows. [Bug #6344]

kosaki	2012-05-18 18:10:46 +0900 (Fri, 18 May 2012)

  New Revision: 35697

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35697

  Log:
    decrease fiber stack size. 1MB is too large for windows. [Bug #6344]
    [ruby-dev:45554]

  Modified files:
    trunk/cont.c

Index: cont.c
===================================================================
--- cont.c	(revision 35696)
+++ cont.c	(revision 35697)
@@ -49,7 +49,7 @@
 static long pagesize;
 
  #if SIZEOF_VOIDP==8
-  #define FIBER_MACHINE_STACK_ALLOCATION_SIZE  (0x100000)
+  #define FIBER_MACHINE_STACK_ALLOCATION_SIZE  (0x20000)
  #else
   #define FIBER_MACHINE_STACK_ALLOCATION_SIZE  (0x10000)
  #endif

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]