Re: [jruby-dev] Improving Ruby to Java call performance: no instance vars or singletons

2010-06-12 Thread Wayne Meissner
Could the weak ref wiring be done lazily, so the overhead is only incurred when someone sets an ivar on a java object? e.g. when a java object enters jruby, it gets a new lightweight wrapper, but when someone does an ivar get/set on it, it looks for the ivar holder for the java object in the weak

Re: [jruby-dev] Improving Ruby to Java call performance: no instance vars or singletons

2010-06-12 Thread Yoko Harada
On Sat, Jun 12, 2010 at 11:41 AM, Charles Oliver Nutter wrote: > One of the primary remaining perf challenges for JRuby is the cost of > bringing Java objects into the Ruby environment. Currently, all > objects get wrapped with a small wrapper object that implements > IRubyObject. This is primaril

Re: [jruby-dev] Improving Ruby to Java call performance: no instance vars or singletons

2010-06-12 Thread Ola Bini
On 2010-06-12 10.41, Charles Oliver Nutter wrote: One of the primary remaining perf challenges for JRuby is the cost of bringing Java objects into the Ruby environment. Currently, all objects get wrapped with a small wrapper object that implements IRubyObject. This is primarily because all our ca

[jruby-dev] Improving Ruby to Java call performance: no instance vars or singletons

2010-06-12 Thread Charles Oliver Nutter
One of the primary remaining perf challenges for JRuby is the cost of bringing Java objects into the Ruby environment. Currently, all objects get wrapped with a small wrapper object that implements IRubyObject. This is primarily because all our call logic requires receivers and arguments to all be

[jruby-dev] [jira] Created: (JRUBY-4868) Socket.getservbyname doesn't accept string port argument

2010-06-12 Thread Vladimir Sizikov (JIRA)
Socket.getservbyname doesn't accept string port argument Key: JRUBY-4868 URL: http://jira.codehaus.org/browse/JRUBY-4868 Project: JRuby Issue Type: Bug Components: Extensions