This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: valgrinding GCJ Java code
Tom Schutter writes:
> Andrew Haley wrote:
> > Tom Schutter writes:
> > > Boehm, Hans wrote:
> > > > I don't know what the specific issue is here.
> > >
> > > The specific issue is that control never returns from JvCreateJavaVM()
> > > or JNI_CreateJavaVM() when the app is run under valgrind.
> >
> > I don't know much about Valgrind. However, my understanding is that
> > Valgrind is supposed to emulate the host CPU, albeit more slowly.
>
> Yes, that is correct.
>
> > So,
> > if the host CPU returns, so should Valgrind. That makes your problem
> > a Valgrind bug, doesn't it?
>
> Maybe, maybe not. As far as I understand, GCJ is doing non-standard
> things with stacks.
I can't think of anything in particular. Scanning the stack, maybe?
But there's nothing weird or illegal about that.
Andrew.