|
From: myrmidia <myr...@ya...> - 2010-07-30 12:52:09
|
Hi there, I try to use valgrind with a Java program to detect memory leak within a 'C' library. This 'C' library is access by JNA (Java Native Access : https://jna.dev.java.net) framework... For information, this program is running on a Virtual Machine (ESX). The linux is a Centos 5.3 and I use the latest available release of Valgrind on default repository ! The JDK/JRE is the latest available release from SUN. Command line: valgrind --leak-check=yes java -jar test.jar Result : The program ran perfectly but valgrind doesn't detect nothing AND there's some memory leaks in the library ;-(( Command line: valgrind --trace-children=yes --leak-check=yes java -jar test.jar Result : Error occurred during initialization of VM Unknown x64 processor: SSE2 not supported The physical processor on the EXS is a Xeon so it supports SSE2 and I've this log on the stderr with '--verbose' option : Arch and hwcaps: AMD64, amd64-sse3-cx16 Any idea ??? Best regards, |
|
From: John R. <jr...@bi...> - 2010-07-30 13:31:17
|
> Unknown x64 processor: SSE2 not supported > > The physical processor on the EXS is a Xeon so it supports SSE2 and I've this log on the stderr with '--verbose' option : > Arch and hwcaps: AMD64, amd64-sse3-cx16 Please post the following info from a terminal session running on the vmware ESX virtual machine: $ cat /proc/cpuinfo | sed 6q which gives the cpu family, model, and stepping, such as: ----- processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 107 model name : AMD Athlon(tm) 64 X2 Dual Core Processor stepping : 2 ----- -- |
|
From: myrmidia <myr...@ya...> - 2010-07-30 14:18:34
|
This is the output... processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU X7350 @ 2.93GHz stepping : 8 For information, this is exactly the real processor on the ESX ! Best regards, --- En date de : Ven 30.7.10, John Reiser <jr...@bi...> a écrit : > De: John Reiser <jr...@bi...> > Objet: Re: [Valgrind-users] Valgrind with Java/Jna > À: val...@li... > Date: Vendredi 30 juillet 2010, 15h30 > > Unknown x64 processor: SSE2 not > supported > > > > The physical processor on the EXS is a Xeon so it > supports SSE2 and I've this log on the stderr with > '--verbose' option : > > Arch and hwcaps: AMD64, amd64-sse3-cx16 > > Please post the following info from a terminal session > running > on the vmware ESX virtual machine: > > $ cat /proc/cpuinfo | sed 6q > > which gives the cpu family, model, and stepping, such as: > ----- > processor : 0 > vendor_id : AuthenticAMD > cpu family : 15 > model : 107 > model name : AMD Athlon(tm) 64 X2 Dual > Core Processor > stepping : 2 > ----- > > -- > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use > the > Plug-In Development Kit to bring their C/C++ apps to Palm > for a share > of $1 Million in cash or HP Products. Visit us here for > more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |
|
From: Julian S. <js...@ac...> - 2010-07-30 14:35:51
|
On Friday, July 30, 2010, myrmidia wrote: > Hi there, > > I try to use valgrind with a Java program to detect memory leak within a > 'C' library. This 'C' library is access by JNA (Java Native Access : > https://jna.dev.java.net) framework... For information, this program is > running on a Virtual Machine (ESX). The linux is a Centos 5.3 and I use > the latest available release of Valgrind on default repository ! The > JDK/JRE is the latest available release from SUN. > > Command line: > valgrind --leak-check=yes java -jar test.jar > Result : > The program ran perfectly but valgrind doesn't detect nothing AND there's > some memory leaks in the library ;-(( > > Command line: > valgrind --trace-children=yes --leak-check=yes java -jar test.jar > Result : > Error occurred during initialization of VM > Unknown x64 processor: SSE2 not supported > > The physical processor on the EXS is a Xeon so it supports SSE2 and I've > this log on the stderr with '--verbose' option : Arch and hwcaps: AMD64, > amd64-sse3-cx16 Valgrind is claiming to be a Core 2 E6600. The CPU in the real machine and the one provided by ESX is irrelevant. Strange that your Java VM doesn't want to run on that. J > > Any idea ??? > > Best regards, > > > > > --------------------------------------------------------------------------- > --- The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |
|
From: myrmidia <myr...@ya...> - 2010-07-30 14:54:10
|
Java VM run on that configuration but there's some inconsistency when I'm using valgrind with/without the '--trace-children' option. Without this option, I have no output from valgrind (but there was some memory leaks in the 'C' library) AND the program ran perfectly. With this option, unable to initialize the VM... Best regards, --- En date de : Ven 30.7.10, Julian Seward <js...@ac...> a écrit : > De: Julian Seward <js...@ac...> > Objet: Re: [Valgrind-users] Valgrind with Java/Jna > À: val...@li... > Cc: "myrmidia" <myr...@ya...> > Date: Vendredi 30 juillet 2010, 16h38 > On Friday, July 30, 2010, myrmidia > wrote: > > Hi there, > > > > I try to use valgrind with a Java program to detect > memory leak within a > > 'C' library. This 'C' library is access by JNA (Java > Native Access : > > https://jna.dev.java.net) framework... For information, > this program is > > running on a Virtual Machine (ESX). The linux is a > Centos 5.3 and I use > > the latest available release of Valgrind on default > repository ! The > > JDK/JRE is the latest available release from SUN. > > > > Command line: > > valgrind --leak-check=yes java -jar test.jar > > Result : > > The program ran perfectly but valgrind doesn't detect > nothing AND there's > > some memory leaks in the library ;-(( > > > > Command line: > > valgrind --trace-children=yes --leak-check=yes java > -jar test.jar > > Result : > > Error occurred during initialization of VM > > Unknown x64 processor: SSE2 not supported > > > > The physical processor on the EXS is a Xeon so it > supports SSE2 and I've > > this log on the stderr with '--verbose' option : Arch > and hwcaps: AMD64, > > amd64-sse3-cx16 > > Valgrind is claiming to be a Core 2 E6600. The CPU in > the > real machine and the one provided by ESX is irrelevant. > Strange that your Java VM doesn't want to run on that. > > J > > > > > Any idea ??? > > > > Best regards, > > > > > > > > > > > --------------------------------------------------------------------------- > > --- The Palm PDK Hot Apps Program offers developers > who use the > > Plug-In Development Kit to bring their C/C++ apps to > Palm for a share > > of $1 Million in cash or HP Products. Visit us here > for more details: > > http://p.sf.net/sfu/dev2dev-palm > > _______________________________________________ > > Valgrind-users mailing list > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > |