(original) (raw)
Sorry, I looked at the oprofile's doc:
http://oprofile.sourceforge.net/doc/setup-jit.html
It seems it is capable to profile java code:
"4.�Setting up the JIT profiling feature
To gather information about JITed code from a virtual machine, it needs to be instrumented with an agent library. We use the agent libraries for Java in the following example. To use the Java profiling feature, you must build OProfile with the "--with-java" option (Section�6, �Installation�).
4.1.�JVM instrumentation
Add this to the startup parameters of the JVM (for JVMTI):
|
or
|
The JVMPI agent implementation is enabled with the command line option
|
Could you give advices on how to use it with custom OpenJDK builds, andrew ?
Thanks for spotting it,
Laurent
2013/5/6 Laurent Bourg�s <bourges.laurent@gmail.com>
Andrew,
I want to have good metrics related to java code (not native) so I need a java profiler.
maybe dtrace could be another candidate but I don't know how to use it on my linux 64 machine.
Laurent
\> I am currently working hard to improve performances of the pisces java2d> I \*personally\* requested this morning an "open source" license for Yourkit
\> renderering engine.
\>
\> To help me improving cpu hotspots, I need an efficient java profiler (lower
\> overhead than netbeans profiler).
\>
\> Profiler.
For low overhead profiling it's hard to beat oprofile. �Linux only.
Andrew.