Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27153

Project stats plugin triggers lazy loading

XMLWordPrintable

      Part of a thread dump from a slow-request shows a lazy loading operation being performed in the project-stats-plugin. This can be triggered from either a dashboard, or JENKINS_HOME/computer/COMPUTERNAME page:

          hudson.maven.MavenModuleSetBuild.<init>(MavenModuleSetBuild.java:148)
          sun.reflect.GeneratedConstructorAccessor114.newInstance(Unknown Source)
          sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          java.lang.reflect.Constructor.newInstance(Constructor.java:526)
          jenkins.model.lazy.LazyBuildMixIn.loadBuild(LazyBuildMixIn.java:155)
          jenkins.model.lazy.LazyBuildMixIn$1.create(LazyBuildMixIn.java:136)
          hudson.model.RunMap.retrieve(RunMap.java:218)
          hudson.model.RunMap.retrieve(RunMap.java:56)
          jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:688)
          jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:650)
          jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:382)
          jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:70)
          jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:59)
          java.util.AbstractMap$2$1.next(AbstractMap.java:385)
          hudson.plugins.projectstats.NumBuildsStats.compute(NumBuildsStats.java:50)
          hudson.plugins.projectstats.column.NumBuildsColumn.getStats(NumBuildsColumn.java:53)
          sun.reflect.GeneratedMethodAccessor1579.invoke(Unknown Source)
          sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

            Unassigned Unassigned
            schristou Steven Christou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: