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 151682

Summary: Starvation in RequestProcessor
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: -- Other --Assignee: issues@platform <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick
Priority: P2 Keywords: THREAD
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Log & thread dump

Description Jaroslav Tulach 2008-10-29 09:48:25 UTC
In case of "inversion of control" waiting, one could get the request processor into a starvation. This happened quite 
often in datasystems tests, where modifications to disk happen in parael with scheduling and waiting for various 
tasks.
Comment 1 Jaroslav Tulach 2008-10-29 09:48:47 UTC
Created attachment 72816 [details]
Log & thread dump
Comment 2 Jaroslav Tulach 2008-10-29 09:50:51 UTC
1a09ded920db
Comment 3 Jesse Glick 2008-10-29 16:29:36 UTC
How old is this? Reported against 7.0 but I presume a (potential) problem for much longer.
Comment 4 Jaroslav Tulach 2008-10-29 17:56:14 UTC
The code is there since 3.4, at least, maybe it is there even for longer amount of time.
Comment 5 Quality Engineering 2008-10-30 04:57:10 UTC
Integrated into 'main-golden', will be available in build *200810300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1a09ded920db
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #151682: Don't waitFinished() on tasks reported as isFinished()