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



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




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