Freeze in GC_suspend_handler

Daniel Bonniot Daniel.Bonniot@inria.fr
Thu Jun 13 13:08:00 GMT 2002


>
>
>I use this gdb macro:
>
It works, thanks.

>Do you know where this field comes from?
>Is it your application?
>
It is a static field, from a class that was loaded by reflexion (from a 
custom class loader).
 From the stack trace, it would suspect that class to have been loaded 
very recently (is the GC generational?).

>I think the next thing to do is to try to see why this field isn't
>initialized.  One way to do that would be to put a watchpoint on the
>value and then see when/why it changes to 0.
>
What are the precise commands to do that? I suppose using watch, but I 
don't know much about gdb. Can I watch only this instance of the field?

Daniel




More information about the Java mailing list