[PATCH] Smarter method caching
------------------------------
Key: JRUBY-1392
URL: http://jira.codehaus.org/browse/JRUBY-1392
Project: JRuby
Issue Type: Improvement
Components: Core Classes/Modules
Environment: rev 4409
Reporter: Alexey Verkhovsky
Attachments: smarter_method_caching.patch
Attached patch makes Petstore under Mongrel-jruby about 10% faster, by doing
the following:
1. RubyModule.includeModule() clear CacheMap and MethodCache selectively,
instead of wholesale.
2. clearing MethodCache resets CacheEntry to all nulls, instead of creating a
new one, which avoids a whole bunch of object instantiations
--
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