Valgrind problems on Hotspot
Peng Du
imdupeng at gmail.com
Mon Feb 9 11:11:26 PST 2009
Thank you for pointing out the --trace-children option, Nicholas!
Then, like gamma, it too becomes really slow. Is there any way to improve
the speed?
Thanks
On Mon, Feb 9, 2009 at 1:01 PM, Nicholas Riley <njriley at uiuc.edu> wrote:
> In article <b4eed40902091057m60b1a94fl2ca9c2d5f36b96b9 at mail.gmail.com>,
> Peng Du <imdupeng at gmail.com> wrote:
>
> > >From somewhere, I learned that the "java" launcher uses "execv()",
> whereas
> > "gamma" does not. Is "execv()" the one that makes Valgrind not happy? How
> > can I work around this issue? What causes the significant slow down of
> gamma
> > comparing to java launcher?
>
> You're actually instrumenting the Java VM when you use gamma, rather
> than just the launcher. You should be able to use --trace-children=yes
> on Valgrind with java, if you wish.
> --
> Nicholas Riley <njriley at uiuc.edu>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20090209/4887e59b/attachment.html
More information about the hotspot-dev
mailing list