Valgrind problems on Hotspot

Peng Du imdupeng at
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?


On Mon, Feb 9, 2009 at 1:01 PM, Nicholas Riley <njriley at> wrote:

> In article <b4eed40902091057m60b1a94fl2ca9c2d5f36b96b9 at>,
>  Peng Du <imdupeng at> 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>
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the hotspot-dev mailing list