Hi All,
I am trying to use Intel VTUNE 2016 v2 for analyzing a simple java program using the general exploration mode. The Java program is as follows:-
public class SimpleEx { public static void main(String[] args) { for (int i = 0; i < 10; i++) { System.out.println("Hello World"); } } }
I compile the above code as "javac -g SimpleEx". I use JDK v1.7
I have created a run.sh script which has one line"java SimpleEx"
I am using the GUI version by invoking ./amplxe-gui. Under the "Analysis Target tab", I select the application as run.sh. I select "Managed code profiling mode" as native and tick "analyze child processes". Then I select General Exploration analysis
After the analysis completes, none of the top-down or bottom-up stacks refer to the SimpleEx class or the main function. Most references look like "func@0x3c1222" etc.
What am I missing here? How to enable profiling of this java application? Appreciate any help in this regard.
Thanks
Rene