diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-25 07:29:36 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-25 07:29:36 +0000 |
commit | 59e1e822a189f8b4c89c3216dd1d82b827969c46 (patch) | |
tree | c4874d0d2d10e38a899c1dae65eb6b81a8fbf418 | |
parent | 48f320194a267bcf6858cbaa77a688cce0759d8d (diff) |
* 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | vm_core.h | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,11 @@ +Tue Dec 25 16:16:54 2012 Koichi Sasada <ko1@atdot.net> + + * 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@ruby-lang.org> * error.c (compile_err_append, compile_warn_print, warn_print): use @@ -407,7 +407,7 @@ typedef struct rb_vm_struct { #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 */ |