[jruby-dev] [jira] (JRUBY-6651) java.lang.NegativeArraySizeException when loading a marshalled RuntimeException raised via RSpec

2012-05-07 Thread Sebastian Staudt (JIRA)
Sebastian Staudt created JRUBY-6651: --- Summary: java.lang.NegativeArraySizeException when loading a marshalled RuntimeException raised via RSpec Key: JRUBY-6651 URL: https://jira.codehaus.org/browse/JRUBY-6651

[jruby-dev] [jira] (JRUBY-6652) JVM crash while running rails app on Torquebox from com.kenai.jffi.Foreign.getZeroTerminatedByteArray

2012-05-07 Thread Jeff Cantrill (JIRA)
Jeff Cantrill created JRUBY-6652: Summary: JVM crash while running rails app on Torquebox from com.kenai.jffi.Foreign.getZeroTerminatedByteArray Key: JRUBY-6652 URL: https://jira.codehaus.org/browse/JRUBY-6652

[jruby-dev] first pass implementing explicit call protocol

2012-05-07 Thread Subramanya Sastry
I started working on implementing an explicit call protocol last week. It required me to clean up a few other bits which I did over several commits since y'day. I now committed a first cut at AddExplicitCallProtocolInstructions compiler pass. I tested this with the interpreter and it seeks to run

[jruby-dev] explicit call protocol: notes

2012-05-07 Thread Subramanya Sastry
As part of working on making call protocol a little explicit, I started making some notes about the call paths and figuring out what can be optimized, what cannot be, what component is responsible, how much can interpreter benefit, how much can compiler benefit, etc. Based on this, I'll work on a

Re: [jruby-dev] first pass implementing explicit call protocol

2012-05-07 Thread Charles Oliver Nutter
I will look into this a bit tonight and see if I can get basic binding logic implemented in IR2JVM. Thanks, Subbu! On Mon, May 7, 2012 at 8:48 PM, Subramanya Sastry wrote: > I started working on implementing an explicit call protocol last week. > It required me to clean up a few other bits which

Re: [jruby-dev] first pass implementing explicit call protocol

2012-05-07 Thread Charles Oliver Nutter
Looks good so far reading the ast --ir output. A few things on which I could use clarification: * Binding variable load/stores are unconditionally done before/after block calls, yes? Opportunity to optimize or failover to all binding variables if we see there's a lot of churn? * Are all variables

Re: [jruby-dev] first pass implementing explicit call protocol

2012-05-07 Thread Charles Oliver Nutter
Ok, bug or something... * The StoreLocalVariable and LoadLocalVariable seem to use a zero-based offset for depth but a one-based offset for index into the binding. Intentional? I will subtract one for now. I am implementing this without context.push/pop and exception-handling logic for the moment

Re: [jruby-dev] first pass implementing explicit call protocol

2012-05-07 Thread Subramanya Sastry
On Mon, May 7, 2012 at 9:26 PM, Charles Oliver Nutter wrote: > Looks good so far reading the ast --ir output. A few things on which I > could use clarification: > > * Binding variable load/stores are unconditionally done before/after > block calls, yes? Opportunity to optimize or failover to all b

[jruby-dev] [jira] (JRUBY-6653) require 'tmpdir' fails (Windows Server Enterprise a.k.a. v6)

2012-05-07 Thread Robert Brown (JIRA)
Robert Brown created JRUBY-6653: --- Summary: require 'tmpdir' fails (Windows Server Enterprise a.k.a. v6) Key: JRUBY-6653 URL: https://jira.codehaus.org/browse/JRUBY-6653 Project: JRuby Issue Ty