...
-- https://tomcat.apache.org/tomcat-8.5-doc/config/jar-scanner.html
Profiling Tomcat startup with VisualVM
Installing the Plugin
Profiling Startup
1. Specify Application Configuration
2. Define Profiler Settings
3. Setup Profiled Application
Example: C:\jdk1.7.0_64b\bin\java.exe -agentpath:C:/VisualVM/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll=C:\VisualVM\profiler\lib,5140 -jar MyApp.jar
Problems & Troubleshooting
https://visualvm.github.io/startupprofiler.html
Part 2 - Usage optimizing options
...