This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Freeze in GC_suspend_handler


Daniel Bonniot writes:
 > >
 > >
 > >Right, it's trying to load a class.  The really Interesting thing to
 > >know is what that class is and why it's trying to load it.  That might
 > >tell us why it fails.
 > >
 > I can print debug information in my sources to know that. The program is 
 > a compiler, and it uses reflexion to load java classes (using Per 
 > Bothner's gnu.bytecode package). It is also in the normal course of the 
 > program to try to load a class and fail (the ClassNotFoundException is 
 > caught in my sources).
 > 
 > If you still think the information on the class name is useful, I will 
 > fetch it.

It looks as though it's hanging up in the garbage collector waiting on
a spin lock.  The interesting question is whether or not some other
thread has the lock, and if so why it isn't releasing it.

What CPU is this?

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]