This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 27927 - Deadlock in lookup
Summary: Deadlock in lookup
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords: RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2002-10-10 16:19 UTC by Martin Ryzl
Modified: 2008-12-22 23:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (14.93 KB, text/plain)
2002-10-10 16:20 UTC, Martin Ryzl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ryzl 2002-10-10 16:19:33 UTC
Deadlock in lookup vs. children. Thread dump attached.
My code is removing instances of services from
Services folder. If I 
remove more instances simultaneously this deadlock
occurs. I can reproduce it.
Comment 1 Martin Ryzl 2002-10-10 16:20:26 UTC
Created attachment 7639 [details]
thread dump
Comment 2 David Strupl 2002-10-15 11:08:57 UTC
Fixed in trunk.

Checking in openide/src/org/openide/util/MetaInfServicesLookup.java;
/cvs/openide/src/org/openide/util/MetaInfServicesLookup.java,v  <-- 
MetaInfServicesLookup.java
new revision: 1.5; previous revision: 1.4
done
Processing log script arguments...
More commits to come...
Checking in openide/src/org/openide/util/lookup/AbstractLookup.java;
/cvs/openide/src/org/openide/util/lookup/AbstractLookup.java,v  <-- 
AbstractLookup.java
new revision: 1.21; previous revision: 1.20
done
Checking in openide/src/org/openide/util/lookup/ProxyLookup.java;
/cvs/openide/src/org/openide/util/lookup/ProxyLookup.java,v  <-- 
ProxyLookup.java
new revision: 1.9; previous revision: 1.8
done
Checking in openide/src/org/openide/util/lookup/SimpleProxyLookup.java;
/cvs/openide/src/org/openide/util/lookup/SimpleProxyLookup.java,v  <--
 SimpleProxyLookup.java
new revision: 1.2; previous revision: 1.1
done
Processing log script arguments...
More commits to come...
Checking in openide/test/unit/src/org/openide/nodes/NodeLookupTest.java;
/cvs/openide/test/unit/src/org/openide/nodes/NodeLookupTest.java,v 
<--  NodeLookupTest.java
new revision: 1.5; previous revision: 1.4
done
Processing log script arguments...
More commits to come...
Checking in
openide/test/unit/src/org/openide/util/lookup/AbstractLookupTest.java;
/cvs/openide/test/unit/src/org/openide/util/lookup/AbstractLookupTest.java,v
 <--  AbstractLookupTest.java
new revision: 1.17; previous revision: 1.16
done
Comment 3 pzajac 2003-01-20 08:38:22 UTC
it seems fine