Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Won't Fix
-
Affects Version/s: JRuby 1.6.4, JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.6.6, JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules, Embedding
-
Labels:None
-
Environment:Android, Ruboto
-
Number of attachments :
Description
Hello good people!
You are great and make the world a better place!
Thank you!
As mentioned to headius on IRC, we have noticed an increase in stack usage when embedding JRuby using RedBridge. A common use case as described by
https://github.com/ruboto/ruboto-core/blob/master/test/activity/stack_activity.rb
changes behavior when changing JRuby version as described by
https://github.com/ruboto/ruboto-core/blob/master/test/activity/stack_activity_test.rb
Stack is currently the most pressing resource limitation when using Ruboto, and it would be really beneficial if there was a way to reduce stack usage.
Currently
https://github.com/ruboto/ruboto-core/blob/master/test/activity/option_menu_activity.rb
and
https://github.com/ruboto/ruboto-core/blob/master/test/activity/option_menu_activity_test.rb
fail on master due to stack level too deep.
To reproduce check out ruboto-core and run
ruby test/ruboto_gen_test.rb -n test_activity_tests
The file to adjust to new stack level values is
test/activity/stack_activity_test.rb