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 170029 - Inappropriate use of RP.getDefault()
Summary: Inappropriate use of RP.getDefault()
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords:
Depends on:
Blocks: 175512
  Show dependency tree
 
Reported: 2009-08-07 09:53 UTC by Jaroslav Tulach
Modified: 2009-10-30 08:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-08-07 09:53:46 UTC
When scheduling multiple tasks into RP.getDefault() they all run in parallel. projectui is using this pattern a lot, 
and it does not seem really appropriate. As issue 169989 and its 
http://www.netbeans.org/nonav/issues/showattachment.cgi/85908/snapshot.nps show, this can result in many threads 
refreshing a name of a node running in parallel, which is waste of system threads. Please use dedicated RP for 
sequencing this work.
Comment 1 Jaroslav Tulach 2009-08-07 09:55:50 UTC
Please review core-main#4266a9b86cde
Comment 2 Quality Engineering 2009-08-08 07:04:22 UTC
Integrated into 'main-golden', will be available in build *200908080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4266a9b86cde
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #170029: Dedicated Project UI RequestProcessor