From: Godmar Back (gback@cs.utah.edu)
Date: Thu Jan 28 1999 - 19:23:08 EST
>
>
> kaffe/kaffe/kaffevm locks.c
> Thu Jan 28 17:24:09 PST 1999
> Update of /home/cvspublic/kaffe/kaffe/kaffevm
> In directory www.transvirtual.com:/tmp/cvs-serv27403
>
> Modified Files:
> locks.c
> Log Message:
> added jmutex_blocked and jcondvar_waiting to prettify deadlock output
>
>
It now looks like this:
Holding B, grabbing A...
Holding A, grabbing B...
Dumping dynamic locks:
lock@0x151c20 java.lang.Class `DeadLock'
held by `Thread-1'
blocks threads: `Thread-0'
lock@0x155d98 java.lang.String `resource A'
held by `Thread-0'
blocks threads: `Thread-1'
Dumping static locks:
&gcman (uncontended)
waiting to be signaled are: `gc'
&finman (uncontended)
waiting to be signaled are: `finaliser'
&thread_start_lock (uncontended)
&translatorlock (uncontended)
&classLock (uncontended)
&jarlock (uncontended)
&classHashLock (uncontended)
&utf8Lock (uncontended)
&stringLock (uncontended)
&gc_lock (uncontended)
Dumping live threads:
`Thread-1' tid 0x1ab010, status SUSPENDED flags
blocked@0x105424 (0x1ab010->|)
`Thread-0' tid 0x19d010, status SUSPENDED flags
blocked@0x138364 (0x19d010->|)
`gc' tid 0x18e010, status SUSPENDED flags DONTSTOP
blocked@0x1595a0 (0x18e010->|)
`finaliser' tid 0x185010, status SUSPENDED flags DONTSTOP
blocked@0x159580 (0x185010->|)
Deadlock: all threads blocked on internal events
Abort (core dumped)
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:52 EDT