Profiling Java running by JNI calls
Posted
by Guy
on Stack Overflow
See other posts from Stack Overflow
or by Guy
Published on 2010-05-20T13:57:29Z
Indexed on
2010/05/20
14:00 UTC
Read the original article
Hit count: 211
Hi, I have a C++ code that upon execution: Loads JVM (I have full control on how to load the JVM), and call Java methods (from loaded classes) using C JNI code. The Java code has no Main() and it is actually not a standard Java application. it is mainly a static code that compiled and compacted into Jar file, the code is being called by the C++ module. Is it possible to profile this Java code being executed by YourKit (have license for it)? If so I'll be glad to know how.
Thanks, Guy
© Stack Overflow or respective owner