jvm-profiling-tools / honest-profiler

A sampling JVM profiler without the safepoint sample bias
https://github.com/RichardWarburton/honest-profiler/wiki
MIT License
1.25k stars 146 forks source link

Integration with Tomcat #261

Closed amine-iratni closed 5 years ago

amine-iratni commented 5 years ago

Thanks for this big work! Is it possible to integrate with Tomcat?

amine-iratni commented 5 years ago

It work, just by setting CATALINA_OPTS before starting Tomcat: $ export CATALINA_OPTS="$CATALINA_OPTS -agentpath:/path/to/build/liblagent.so=interval=7,logPath=/path/to/output.hpl"