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 253494

Summary: org.netbeans.api.project.ProjectManager.findProject: LowPerformance took 20613 ms.
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: tstupka
Priority: P3 Keywords: PERFORMANCE
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 218551
Attachments: nps snapshot

Description Exceptions Reporter 2015-07-15 09:53:44 UTC
This issue was reported manually by tstupka.
It already has 3 duplicates 


Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 8

User Comments:
GUEST: closed an open project

GUEST: <Please provide a description of the problem or the steps to reproduce

GUEST: Slow in my pc



Maximum slowness yet reported was 29181 ms, average is 26325
Comment 1 Exceptions Reporter 2015-07-15 09:53:45 UTC
Created attachment 154645 [details]
nps snapshot
Comment 2 Tomas Stupka 2015-07-15 09:59:03 UTC
in awt 
o.n.spi.java.project.support.ui.PackageViewChildren$PackageNode.getMyIcon() -> PackageDisplayUtils.getIcon() -> ... -> FOQ
while FOQ is being blocked by a concurrent project open

please evaluate if the icon could not be retrieved asynchronously in case project open/close is currently running
Comment 3 Tomas Zezula 2015-08-05 08:39:11 UTC
Fixed jet-main b6ac4131103f
Comment 4 Quality Engineering 2015-08-06 01:24:04 UTC
Integrated into 'main-silver', will be available in build *201508060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b6ac4131103f
User: Tomas Zezula <tzezula@netbeans.org>
Log: #253494:org.netbeans.api.project.ProjectManager.findProject: LowPerformance took 20613 ms.