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 <[email protected]> a écrit : > De: Julian Seward <[email protected]> > Objet: Re: [Valgrind-users] Valgrind with Java/Jna > À: [email protected] > Cc: "myrmidia" <[email protected]> > 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 > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
