I'm looking for tutorials on how to profile java code on Linux ? A sample code with steps would help a lot.
To profile code with VTune or to profile code with java tools?
Check out this article.
Great news.I thought that java profiling was abandoned on newest versions of VTune.
If you run Java code which was called by C/C++, please read this article.
If you run Java code which was from a container (act as http servlet), please read this article.
These two articles have steps with example code.
For more complete information about compiler optimizations, see our Optimization Notice.