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

ruby-changes:26541

From: ko1 <ko1@a...>
Date: Tue, 25 Dec 2012 16:29:46 +0900 (JST)
Subject: [ruby-changes:26541] ko1:r38592 (trunk): * vm_core.h (RUBY_VM_THREAD_VM_STACK_SIZE): change default

ko1	2012-12-25 16:29:36 +0900 (Tue, 25 Dec 2012)

  New Revision: 38592

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

  Log:
    * vm_core.h (RUBY_VM_THREAD_VM_STACK_SIZE): change default
      VM stack size (128 KB or  256 KB -> 512 KB or 1024 KB).
      This re-sizing corrects smaller value introduced at r38478.
      Newer value is same VM stack size of Ruby 1.9.
      [ruby-dev:46797] [ruby-trunk - Bug #7603]

  Modified files:
    trunk/ChangeLog
    trunk/vm_core.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38591)
+++ ChangeLog	(revision 38592)
@@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Dec 25 16:16:54 2012  Koichi Sasada  <ko1@a...>
+
+	* vm_core.h (RUBY_VM_THREAD_VM_STACK_SIZE): change default
+	  VM stack size (128 KB or  256 KB -> 512 KB or 1024 KB).
+	  This re-sizing corrects smaller value introduced at r38478.
+	  Newer value is same VM stack size of Ruby 1.9.
+	  [ruby-dev:46797] [ruby-trunk - Bug #7603]
+
 Tue Dec 25 13:38:12 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* error.c (compile_err_append, compile_warn_print, warn_print): use
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 38591)
+++ vm_core.h	(revision 38592)
@@ -407,7 +407,7 @@ typedef struct rb_vm_struct { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L407
 
 #define RUBY_VM_SIZE_ALIGN 4096
 
-#define RUBY_VM_THREAD_VM_STACK_SIZE          (  32 * 1024 * sizeof(VALUE)) /*  128 KB or  256 KB */
+#define RUBY_VM_THREAD_VM_STACK_SIZE          ( 128 * 1024 * sizeof(VALUE)) /*  512 KB or 1024 KB */
 #define RUBY_VM_THREAD_VM_STACK_SIZE_MIN      (   2 * 1024 * sizeof(VALUE)) /*    8 KB or   16 KB */
 #define RUBY_VM_THREAD_MACHINE_STACK_SIZE     ( 128 * 1024 * sizeof(VALUE)) /*  512 KB or 1024 KB */
 #define RUBY_VM_THREAD_MACHINE_STACK_SIZE_MIN (  16 * 1024 * sizeof(VALUE)) /*   64 KB or  128 KB */

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

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