[jruby-dev] Experiments: AbstractRubyStruct, AtomicStruct, AbstractRubyHash

2011-12-19 Thread Charles Oliver Nutter
I spent the night working on some experiments. 1. AbstractRubyStruct and AtomicStruct RubyStruct is an interesting data structure, since it has a fixed size declared when you define a new Struct. This makes it possible for us to implement more efficient access, among other things. More interesti

Re: [jruby-dev] Blog post draft: JRuby and Java 7

2011-12-19 Thread Charles Oliver Nutter
The post is published! Thanks for your input! http://blog.jruby.org/2011/12/getting_started_with_jruby_and_java_7/ - Charlie On Sun, Dec 18, 2011 at 11:39 PM, Charles Oliver Nutter wrote: > On Sun, Dec 18, 2011 at 11:02 PM, Hirotsugu Asari > wrote: >> Ah. You are right about this. I must have

[jruby-dev] [jira] (JRUBY-6285) JRuby 1.7 master on Java7u2 is *slower* running a benchmark than master on Java6

2011-12-19 Thread Chuck Remes (JIRA)
Chuck Remes created JRUBY-6285: -- Summary: JRuby 1.7 master on Java7u2 is *slower* running a benchmark than master on Java6 Key: JRUBY-6285 URL: https://jira.codehaus.org/browse/JRUBY-6285 Project: JRuby

[jruby-dev] [jira] (JRUBY-6286) jnr-posix WindowsHelpers.isBatch Always Returns False

2011-12-19 Thread Ben Browning (JIRA)
Ben Browning created JRUBY-6286: --- Summary: jnr-posix WindowsHelpers.isBatch Always Returns False Key: JRUBY-6286 URL: https://jira.codehaus.org/browse/JRUBY-6286 Project: JRuby Issue Type: Bug

[jruby-dev] [jira] (JRUBY-6287) DateTime.to_time method is missing

2011-12-19 Thread bauagonzo (JIRA)
bauagonzo created JRUBY-6287: Summary: DateTime.to_time method is missing Key: JRUBY-6287 URL: https://jira.codehaus.org/browse/JRUBY-6287 Project: JRuby Issue Type: Bug Components: Sta

[jruby-dev] [jira] (JRUBY-6288) 'incompatible character encodings: ASCII-8BIT and UTF-8' error thrown by jruby but not by ruby

2011-12-19 Thread Garrett Motzner (JIRA)
Garrett Motzner created JRUBY-6288: -- Summary: 'incompatible character encodings: ASCII-8BIT and UTF-8' error thrown by jruby but not by ruby Key: JRUBY-6288 URL: https://jira.codehaus.org/browse/JRUBY-6288

[jruby-dev] Bump up default Xmx?

2011-12-19 Thread Charles Oliver Nutter
I have been wondering if we shouldn't just bump up the default -Xmx max heap size we allow in the JRuby executable. I know the JVM has a tendency to want to grow the heap, but few things are as frustrating as having some long-running process hit the heap max and die. Thoughts? Concerns? - Charlie

[jruby-dev] [jira] (JRUBY-6289) [1.9] when yield is called with a splat arg, the block gets the argument as a single Array

2011-12-19 Thread Hiro Asari (JIRA)
Hiro Asari created JRUBY-6289: - Summary: [1.9] when yield is called with a splat arg, the block gets the argument as a single Array Key: JRUBY-6289 URL: https://jira.codehaus.org/browse/JRUBY-6289 Project

Re: [jruby-dev] Bump up default Xmx?

2011-12-19 Thread [email protected]
Yeah, I think bumping up default -Xmx would be good. Almost every Rails app I have worked needed to bump up the default -Xmx manually. Please make it happen :D -- Best, Anil On Tue, Dec 20, 2011 at 5:16 AM, Charles Oliver Nutter wrote: > I have been wondering if we shouldn't just bump up the de

Re: [jruby-dev] Bump up default Xmx?

2011-12-19 Thread Rob Heittman
I love the idea of an increase. What did you have in mind for a new value? I've rewritten this email a dozen times now trying to suggest a good default and can't convince myself of any ideal value. All my actual JRuby apps use many-many GB of heap, which is why they're JRuby apps ... and I don't fe

Re: [jruby-dev] Bump up default Xmx?

2011-12-19 Thread Charles Oliver Nutter
I was thinking of bumping to 1GB. A 32-bit JVM can't go higher than a 4GB process space, and typically you don't go above 2GB heap there in case there's a lot of native memory that might push it close to the 32-bit process limit. So I think we'd be safest halving that and doing 1GB, which would be