Ben Armstrong created JRUBY-6448: ------------------------------------ Summary: OpenVMS: Drastically poor startup time with -Xbootclasspath append instead of prepend Key: JRUBY-6448 URL: https://jira.codehaus.org/browse/JRUBY-6448 Project: JRuby Issue Type: Bug Components: Launcher Affects Versions: JRuby 1.6.6 Environment: OpenVMS/Alpha, JRE 1.5 Reporter: Ben Armstrong Assignee: Thomas E Enebo
For some reason, JRuby on OpenVMS/Alpha which has JRE 1.5 (and no prospects for future higher versions), wastes quite a lot of resources at startup time. This makes it painful to start on this platform (up to 15 seconds!) Close analysis shows the time is wasted in a lot of failed directory scans. And it turns out that if you change from -Xbootclasspath/a jruby.jar to -Xbootclasspath/p, i.e. from append to prepend, the problem goes away. My question, since /a is borrowed from the jruby.sh launcher (though I am not currently using that component), is whether there is some good reason /a is used here instead of /p? Would other platforms realize a startup time improvement if it were changed? Here is my thread on the HP OpenVMS support forums about the issue: http://h30499.www3.hp.com/t5/Languages-and-Scripting/Slow-Java-startup-Alpha-vs-I64-excessive-directory-scans-vanilla/m-p/5549799 Thanks, Ben -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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