🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #484

Deadlock

#484
From: Aleksandar Pecanov
Date: Sat, 27 Sep 2003 09:12
13 lines
1328 bytes
The following code terminates my application:

	public DBValue value( Object val ) {
            DBValue v = value(val);
            v.setValue(val);
        
            return v;
        }
        
It took me quite some time to find out that this was my problem, 
because I didn't expect the virtual machine to become aware of a deadlock. 
I'm using JDK 1.4.2 (for linux).
How does deadlock detection work in Java, and since when was it implemented?
Technical Details
Message-ID: <pan.2003.09.27.09.12.01.595247@mt.net.mk>
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,704e8f05d1fdbb6d,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-09-27 02:50:57 PST
From: "Aleksandar Pecanov" <pecanov@mt.net.mk>
Subject: Deadlock
Date: Sat, 27 Sep 2003 11:12:01 +0200
User-Agent: Pan/0.13.4 (She had eyes like strange sins.)
Message-ID: <pan.2003.09.27.09.12.01.595247@mt.net.mk>
Newsgroups: borland.public.jbuilder.java.api
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 217.16.64.179
X-Trace: newsgroups.borland.com 1064653905 217.16.64.179 (27 Sep 2003 02:11:45 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail