[OpenJDK 2D-Dev] YourKit Java Profiler Open Source License Request (original) (raw)
Laurent Bourgès bourges.laurent at gmail.com
Mon May 6 15:12:32 UTC 2013
- Previous message: [OpenJDK 2D-Dev] YourKit Java Profiler Open Source License Request
- Next message: [OpenJDK 2D-Dev] YourKit Java Profiler Open Source License Request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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”<http://oprofile.sourceforge.net/doc/install.html>).
4.1. JVM instrumentation
Add this to the startup parameters of the JVM (for JVMTI):
-agentpath:/libjvmti_oprofile.so[=]
or
-agentlib:jvmti_oprofile[=]
The JVMPI agent implementation is enabled with the command line option
-Xrunjvmpi_oprofile[:]
"
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 at 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 > renderering engine. > > To help me improving cpu hotspots, I need an efficient java profiler (lower > overhead than netbeans profiler). > > I personally requested this morning an "open source" license for Yourkit > Profiler.
For low overhead profiling it's hard to beat oprofile. Linux only. Andrew.
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20130506/3f608423/attachment.html>
- Previous message: [OpenJDK 2D-Dev] YourKit Java Profiler Open Source License Request
- Next message: [OpenJDK 2D-Dev] YourKit Java Profiler Open Source License Request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]