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: known synchronized() failures?


Wednesday, April 27, 2005, 3:28:03 AM, you wrote:

TA> The last few days I spent on debuggin a really unpleasant problem. One
TA> of my programs making extensive use of locks ("synchronized") is
TA> reproducibly hanging after a while of operation. After quite some
TA> debugging I'm sure that it is hanging at the start of a synchronized()
TA> block:


I get a 100% cpu use problem, but the gdb bt points to the GC, and
I've been informed that it is due to the use of references overwriting
finalizers (or something to that effect -- I don't fully understand
why it would crash/lock up and can't produce a testcase) (gcc bug
18266).

Maybe you can run it under gdb and look at the bt once it is locked
up.

Regards,
Rutger Ovidius




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