Charles Oliver Nutter wrote:
So, it's time to bring up this question. ObjectSpace makes JRuby so much slower, I think it's time to consider disabling it by default.

It's done.

- ObjectSpace.each_object will raise a RuntimeError if called with something other than Class when objectspace is disabled. - jruby +O script.rb will enable ObjectSpace, as will setting the property jruby.objectspace.enabled=true.

There's one remaining instance of ObjectSpace#each_object in core libs that doesn't call with Class...in IRB completion, there's an each_object(Module). So we'll need to find a solution for that that doesn't require full each_object support.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to