[JIRA] (JENKINS-16606) Uncached checks of Stapler.openResourcePathByLocale for non-resources
dogfood commented on JENKINS-16606 Uncached checks of Stapler.openResourcePathByLocale for non-resources Integrated in jenkins_main_trunk #2351 [FIXED JENKINS-16606] (Revision f373cd5c5ea9e6e9c619d9913b1a9bc66001a1b8) Result = SUCCESS kohsuke : f373cd5c5ea9e6e9c619d9913b1a9bc66001a1b8 Files : core/pom.xml changelog.html This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-16606) Uncached checks of Stapler.openResourcePathByLocale for non-resources
SCM/JIRA link daemon resolved JENKINS-16606 as Fixed Uncached checks of Stapler.openResourcePathByLocale for non-resources Change By: SCM/JIRA link daemon (07/Mar/13 1:30 AM) Status: Open Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-16606) Uncached checks of Stapler.openResourcePathByLocale for non-resources
SCM/JIRA link daemon commented on JENKINS-16606 Uncached checks of Stapler.openResourcePathByLocale for non-resources Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml http://jenkins-ci.org/commit/jenkins/f373cd5c5ea9e6e9c619d9913b1a9bc66001a1b8 Log: [FIXED JENKINS-16606] Integrated the new version of Stapler that includes the fix. – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-16606) Uncached checks of Stapler.openResourcePathByLocale for non-resources
Jesse Glick created JENKINS-16606 Uncached checks of Stapler.openResourcePathByLocale for non-resources Issue Type: Bug Assignee: Unassigned Components: core Created: 01/Feb/13 10:52 PM Description: A thread dump showed many HTTP threads doing something like this: "Handling POST /job/.../ajaxExecutors : ... java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242) at java.io.File.exists(File.java:772) at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:785) at org.apache.naming.resources.FileDirContext.lookup(FileDirContext.java:206) at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:299) at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:495) at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:176) at org.kohsuke.stapler.Stapler.openResourcePathByLocale(Stapler.java:207) at org.kohsuke.stapler.Stapler.service(Stapler.java:147) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) If the container's implementation of ServletContext.getResource is slow to return a negative result, as it seems Tomcat's is, we waste a considerable amount of time (and disk I/O) looking for files which clearly do not exist before serving a request from the Stapler model. Probably if this method once returns null it is safe to assume it will continue to do so for the rest of the session. Project: Jenkins Labels: stapler performance Priority: Major Reporter: Jesse Glick This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.