Bug 203187 - Deadlock in whitelist lookup
Deadlock in whitelist lookup
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Project
7.1
All All
: P2 (vote)
: 7.1
Assigned To: Tomas Zezula
issues@java
: THREAD
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-06 06:30 UTC by Tomas Zezula
Modified: 2011-10-07 14:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
Deadlock (6.85 KB, text/plain)
2011-10-06 06:30 UTC, Tomas Zezula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-10-06 06:30:51 UTC
Created attachment 111573 [details]
Deadlock

The deadlock was introduced by some deadlock fix.
Comment 1 Tomas Zezula 2011-10-06 06:34:00 UTC
Both the WhiteListLookup and DelegatingLookupImpl are evil as they call third party code under private lock.
So I am going to resolve the problem in the WhiteListLookup by weak consistency in idempotent call. The same should be probably done in DelegatingLookupImpl.
Comment 2 Tomas Zezula 2011-10-06 07:25:52 UTC
Fixed jet-main 3c49cd0977fb
Comment 3 Quality Engineering 2011-10-07 14:39:23 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3c49cd0977fb
User: Tomas Zezula <tzezula@netbeans.org>
Log: #203187:Deadlock in whitelist lookup


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo