YourKit Java Profiler Open Source License Request
Laurent Bourgès
bourges.laurent at gmail.com
Mon May 6 15:12:32 UTC 2013
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:<libdir>/libjvmti_oprofile.so[=<options>]
or
-agentlib:jvmti_oprofile[=<options>]
The JVMPI agent implementation is enabled with the command line option
-Xrunjvmpi_oprofile[:<options>]
"
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.
>>
>>
>>
>
More information about the discuss
mailing list