0

I am in reference to Tomcat's HowTo improve startup time.

Can someone please provide informed advice as to how to determine where Tomcat spends time starting up?

Should I use jvisualvm, jstack?

Are thread dumps the only way to find out more information as to what Tomcat is actually doing whilst starting up?

balteo
  • 23,602
  • 63
  • 219
  • 412
  • 1
    just a comment: I had serious perofrmance issue with Tomcat 8 startup. For me, adding the cli arg `-Djava.security.egd=file:/dev/./urandom` solved it. [details here](http://stackoverflow.com/questions/137212/how-to-solve-performance-problem-with-java-securerandom) – Sharon Ben Asher Aug 17 '15 at 10:49
  • Thanks a lot. I have added that already. It does help but I still need to investigate further. :-) – balteo Aug 17 '15 at 10:52
  • Have you tried a profiler like YourKit ? – Wim Deblauwe Aug 17 '15 at 11:33
  • Thanks Wim. I have jvisualvm setup on my laptop but I am not sure which classes to profile... Do you know which of the Tomcat classes I should profile? – balteo Aug 17 '15 at 11:35
  • No sorry. I never used YourKit for tomcat performance improvements, only for checking my own code. – Wim Deblauwe Aug 17 '15 at 11:38

0 Answers0