Issue #3187 has been updated by Jared Beck.


It looks like those constants don't exist in ruby 2.1.2?

~~~
ruby --version
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]

echo 'puts RUBY_VM_FIBER_VM_STACK_SIZE' | ruby
-:1:in `<main>': uninitialized constant RUBY_VM_FIBER_VM_STACK_SIZE (NameError)

echo 'puts RUBY_FIBER_MACHINE_STACK_SIZE' | ruby
-:1:in `<main>': uninitialized constant RUBY_FIBER_MACHINE_STACK_SIZE (NameError)
~~~

----------------------------------------
Feature #3187: Allow dynamic Fiber stack size
https://bugs.ruby-lang.org/issues/3187#change-50966

* Author: Mike Perham
* Status: Feedback
* Priority: Normal
* Assignee: Koichi Sasada
----------------------------------------
=begin
 I'd like a way to increase the size of the Fiber stack dynamically so when my program starts, I can set it to whatever value I need for the code I'm running.  4KB is too easy to run into problems when running recursive code but settling on any arbitrary static value seems pointless to me.
=end


---Files--------------------------------
fiber_stacksize.patch (5.89 KB)


-- 
https://bugs.ruby-lang.org/