|
From: Adnan K. <Adn...@ne...> - 2005-06-30 18:51:54
|
Hi there, I have a question regarding Valgrind for running Java apps, in my case, = the SpecJBB test suite. I invoke Valgrind (v2.4.0) as usual valgrind --tool=3Dcallgrind java -Xms1750m -Xmx1750m -Xcompactexplicitgc = spec.jbb.JBBmain -propfile SPECjbb.props Using the utility "top" I can see valgrind chugging along quite nicely. = However at some point Valgrind completely exits and I see Java show up. Just by looking at the screen output I can tell = that the valgrind is no longer running and the the java app is running on its own. Also there are several java = processes that are spawned off - could this be the problem that valgrind just sticks with the initial java process and any additional = java threads created by the app are not under Valgrind's control? Any help would be appreciated. Thanks Adnan |
|
From: Stas O. <sta...@gm...> - 2008-09-15 20:42:48
|
Hi. Does Valgrind support checking Java application? I tried running it together with my java app in fashion valgrind --trace-children=yes java -jar app.jar, but it ends very fast. Regards. |
|
From: Nicholas N. <nj...@cs...> - 2005-06-30 19:42:36
|
On Thu, 30 Jun 2005, Adnan Khaleel wrote: > could this be the problem that valgrind just sticks with the initial > java process and any additional java threads created by the app are not > under Valgrind's control? Yes. Try --trace-children=yes if you want to run all child processes also under Valgrind. N |