Valgrind problems on Hotspot
njriley at uiuc.edu
Mon Feb 9 11:01:22 PST 2009
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>
More information about the hotspot-dev