option to dump all classes generated at runtime to disk
-------------------------------------------------------
Key: JRUBY-4269
URL: http://jira.codehaus.org/browse/JRUBY-4269
Project: JRuby
Issue Type: New Feature
Components: Compiler
Affects Versions: JRuby 1.4
Environment: Restrictive environments
Reporter: John Woodell
Priority: Critical
Create a property 'jruby.jit.cache' where jruby dumps all classes it generates
at runtime to disk. Users run all their tests for code coverage. Most likely,
we would modify the jit/invoker stuff to have a mode where they also dump to
the set location, like ".jruby_classes" via JRUBY_JIT_CACHE. These classes can
preverify and then never generate once deployed. Users add that location to
classpath searching, and try to search classpath before generating/loading
jitted code. We may need another property for this: jruby.compile.mode=CACHE
(or some other property)
Users may need to be in charge to deleteing the old cache, but I suppose this
could happen on startup. It will also be possible to package these classes into
separate jar files, for environments where many-files is bad, but files larger
then 10MB are not allowed.
--
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