JIT max and JIT threshold should be adjusted for improvements in JRuby over the
past months
-------------------------------------------------------------------------------------------
Key: JRUBY-2514
URL: http://jira.codehaus.org/browse/JRUBY-2514
Project: JRuby
Issue Type: Bug
Components: Compiler
Reporter: Charles Oliver Nutter
Priority: Blocker
Fix For: JRuby 1.1.2
We have long talked about two changes, which probably should happen now:
* Bump the JIT max (maximum number of methods that will JIT) up from its
current default of 2048
* Bump the JIT threshold (number of times a method must be called before it
will JIT) up from its current default of 20
I will shortly commit changes that makes these 4096 and 50, respectively, but
we should have some discussion about what the actual values should be. A
threshold of 50 will slightly reduce the number of methods that jit in a
typical application, or at least delay the jitting of some methods. The limit
of 4096 will allow more methods to JIT, and reflects a steady improvement in
the size of compiled code since the 1.1RC2 release where the JIT max was
introduced. We could probably go even higher, but we need some empirical data
from a real-world app...ideally a Rails app.
Marking as a 1.1.2 blocker, so we can finally discuss and make this change.
--
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