Delay creation of ObjectAllocator instances until first use
-----------------------------------------------------------

                 Key: JRUBY-2441
                 URL: http://jira.codehaus.org/browse/JRUBY-2441
             Project: JRuby
          Issue Type: Improvement
            Reporter: Wayne Meissner
            Assignee: Thomas E Enebo
         Attachments: ObjectAllocator.patch

All the ObjectAllocator instances (e.g. in RubyArray) are allocated when the 
class is loaded, since they are stored in static fields.

Allocation of the ObjectAllocator instances, and loading of the anonymous inner 
class can be delayed until the first time the allocator is actually needed.

Unfortunately, this seems to make approximately zero difference to jruby 
startup time.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to