Community
cancel
Showing results for 
Search instead for 
Did you mean: 
michael_rvsn
Beginner
91 Views

JVM exists with error while running sampling activity

Jump to solution
Hello!

I start running Sampling activity JVM and vtlec exites with error message.
There is no any problem to work with callgraph activities.

The error message is downloaded to error/JVM_terminated.jpg.
What can be wrong with my installation?

Thanks in advance.

Best regards,
Michael Zak
Radvision
0 Kudos
1 Solution
Peter_W_Intel
Employee
91 Views
Quoting - michael_rvsn
Hi,

Peter thank you for your answer.

The problem happens when we use GUI (vtlec).

1. [root@junos ~]# lsmod | grep vtune
vtune_drv 218940 0
2. [root@junos ~]# uname -a
Linux junos 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
We are using VTune 9.1
3. [root@junos ~]# java -version
java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
4. [root@junos ~]# java -fullversion
java full version "gcj-1.4.2"

Regards,
Michael

Michael, Thanks for detail info.

I don't know if gcj-1.4.2 is supported. However my java version gij is from Red Hat* 4.1.1-52, yours is from Red Hat* 3.4.6-3.

So please try java sampling on standard Linux* distribution.

Regards, Peter

[root@kentsfield-01 java]# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@kentsfield-01 java]# vtl activity -d 120 -c sampling -o "java" -app "java, gsexample2a datafile.txt" run
VTune Performance Analyzer 9.1 for Linux* build 226
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.

The Activity has been successfully created.
The Activity is running.
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-3
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) The processor PMU configuration file: pmp.xml
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) Collection for the following event(s) is being performed:
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.


Processing 'datafile.txt' for 10 seconds, at Thu Jul 16 14:52:45 CST 2009 ...

Done at Thu Jul 16 14:52:45 CST 2009.

*****************************************
* Elapsed time was 10 seconds
* Calculated CRC chksum: dc1a4ca
* File character count: 10240
* File processed 3352 times
* Total characters processed: 34324480
*
* Average characters/sec: 3432104.8
* Average loop iterations/sec: 335.16647
*****************************************

Thu Jul 16 14:52:55 2009 127.0.0.1 (Run 0) Sampling data was successfully collected.
The Activity has finished running.

View solution in original post

4 Replies
Peter_W_Intel
Employee
91 Views
Quoting - michael_rvsn
Hello!

I start running Sampling activity JVM and vtlec exites with error message.
There is no any problem to work with callgraph activities.

The error message is download to error/JVM_terminated.jpg.
What can be wrong with my instalation?

Thanks in advance.

Best regards,
Michael Zak
Radvision

Hi Michael,

Since you said there is no problem to do call graph activity, please check -
1. Whether you have installed vtune driver? do "lsmod | grep vtune"
2. Are you using latest v9.1 Update 2?
3. What is your running operation system? Use default JVM version? If youuse other JVM, pleaseensure it is supported in release notes (If youwork onx86_64operation system - please use 32bit JVM).
4. Areyour using sampling activity for Java application?Try samplingactivity in command line
a) export PATH=$PATH:/opt/intel/vtune/bin; cd /opt/intel/vtune/samples/java; make all
b)vtl activity -d 120 -c sampling -o "java" -app "java, gsexample2a datafile.txt" run

Finally try sampling activity on Graphic User Interface.

Regards, Peter
michael_rvsn
Beginner
91 Views
Hi Michael,

Since you said there is no problem to do call graph activity, please check -
1. Whether you have installed vtune driver? do "lsmod | grep vtune"
2. Are you using latest v9.1 Update 2?
3. What is your running operation system? Use default JVM version? If youuse other JVM, pleaseensure it is supported in release notes (If youwork onx86_64operation system - please use 32bit JVM).
4. Areyour using sampling activity for Java application?Try samplingactivity in command line
a) export PATH=$PATH:/opt/intel/vtune/bin; cd /opt/intel/vtune/samples/java; make all
b)vtl activity -d 120 -c sampling -o "java" -app "java, gsexample2a datafile.txt" run

Finally try sampling activity on Graphic User Interface.

Regards, Peter
Hi,

Peter thank you for your answer.

The problem happens when we use GUI (vtlec).

1. [root@junos ~]# lsmod | grep vtune
vtune_drv 218940 0
2. [root@junos ~]# uname -a
Linux junos 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
We are using VTune 9.1
3. [root@junos ~]# java -version
java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
4. [root@junos ~]# java -fullversion
java full version "gcj-1.4.2"

Regards,
Michael
Peter_W_Intel
Employee
92 Views
Quoting - michael_rvsn
Hi,

Peter thank you for your answer.

The problem happens when we use GUI (vtlec).

1. [root@junos ~]# lsmod | grep vtune
vtune_drv 218940 0
2. [root@junos ~]# uname -a
Linux junos 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
We are using VTune 9.1
3. [root@junos ~]# java -version
java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
4. [root@junos ~]# java -fullversion
java full version "gcj-1.4.2"

Regards,
Michael

Michael, Thanks for detail info.

I don't know if gcj-1.4.2 is supported. However my java version gij is from Red Hat* 4.1.1-52, yours is from Red Hat* 3.4.6-3.

So please try java sampling on standard Linux* distribution.

Regards, Peter

[root@kentsfield-01 java]# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@kentsfield-01 java]# vtl activity -d 120 -c sampling -o "java" -app "java, gsexample2a datafile.txt" run
VTune Performance Analyzer 9.1 for Linux* build 226
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.

The Activity has been successfully created.
The Activity is running.
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-3
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) The processor PMU configuration file: pmp.xml
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) Collection for the following event(s) is being performed:
Thu Jul 16 14:52:44 2009 127.0.0.1 (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.


Processing 'datafile.txt' for 10 seconds, at Thu Jul 16 14:52:45 CST 2009 ...

Done at Thu Jul 16 14:52:45 CST 2009.

*****************************************
* Elapsed time was 10 seconds
* Calculated CRC chksum: dc1a4ca
* File character count: 10240
* File processed 3352 times
* Total characters processed: 34324480
*
* Average characters/sec: 3432104.8
* Average loop iterations/sec: 335.16647
*****************************************

Thu Jul 16 14:52:55 2009 127.0.0.1 (Run 0) Sampling data was successfully collected.
The Activity has finished running.

View solution in original post

michael_rvsn
Beginner
91 Views
Hi Peter,

Thank you for your answer.

I checked with your java 1.4.2 and it works!:).
Apparently new java 1.6 has somthing incompatible with my vtune version.

Thank you again

Michael


Reply