Open Java Profiler (OJP) is an Open Source Java Profiler. It can be used in the Test/Production environment to profile your Java applications. It captures the execution times of methods without requiring any changes to the source code.
OJP currently supports profiling applications deployed in Tomcat or JBoss application servers. More details about the tool including the usage instructions can be found on GitHub.