valgrinding GCJ Java code

Andrew Haley aph@redhat.com
Sat Jun 19 17:02:00 GMT 2004


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /