|
From: tom f. <tf...@al...> - 2008-09-16 16:31:57
|
Forgot to CC the list ..
------- Forwarded Message
Reply-To: tf...@al...
From: tom fogal <tf...@al...>
To: "Stas Oskin" <sta...@gm...>
Subject: Re: [Valgrind-users] Valgrind and Java
In-Reply-To: Your message of "Mon, 15 Sep 2008 23:42:59 +0300."
<779...@ma...>
References: <779...@ma...>
Date: Tue, 16 Sep 2008 12:30:57 -0400
Sender: tf...@ar...
"Stas Oskin" <sta...@gm...> writes:
> 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.
Others know more, but I know that the logic behind valgrind will be
very confused by the kinds of things VMs do. I think there are
valgrind source annotations one can use that signify things like the VM
deallocating application-level memory, but I don't remember HotSpot
having such annotations. Of course, I don't know which VM you're
using.
Even if you got this to work, it is not likely to be overly useful in
debugging applications, more so the VM. Though that's just an educated
guess, and I'd love to be proven wrong ...
- -tom
------- End of Forwarded Message
|