Re: [jruby-dev] JRuby IR: First thoughts

2009-05-09 Thread Charles Oliver Nutter
Thomas E Enebo wrote: This makes me wonder if we cannot actually ascertain the cost of various locking/volatile/active/inactive scenarios. Of course in a pet micro bench of these it may give an unrealistic answer, but it would still be cool to get some understanding of cost. Yeah, we need to

Re: [jruby-dev] JRuby IR: First thoughts

2009-05-09 Thread Thomas E Enebo
On Sat, May 9, 2009 at 11:06 AM, Thomas E Enebo wrote: > On Fri, May 8, 2009 at 10:47 PM, Charles Oliver Nutter > wrote: >> Subramanya Sastry wrote: >>> >>> I may have been wrong.   I had a chance to think through this a little bit >>> more. >>> >>> Consider this ruby code: >>> >>> i = 5 >>> v1 =

Re: [jruby-dev] JRuby IR: First thoughts

2009-05-09 Thread Thomas E Enebo
On Fri, May 8, 2009 at 10:47 PM, Charles Oliver Nutter wrote: > Subramanya Sastry wrote: >> >> I may have been wrong.   I had a chance to think through this a little bit >> more. >> >> Consider this ruby code: >> >> i = 5 >> v1 = i + 1 >> some_random_method_call() >> v2 = i + 1 >> >> In this code