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 252468

Summary: org.netbeans.api.project.ProjectManager$2.run: LowPerformance took 21954 ms.
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: JSFAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: tstupka
Priority: P3 Keywords: PERFORMANCE
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217384
Attachments: nps snapshot

Description Exceptions Reporter 2015-05-18 14:51:34 UTC
This issue was reported manually by tstupka.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows XP

User Comments:
GUEST: When I start Net beans it take 100% CPU



Maximum slowness yet reported was 21954 ms, average is 21954
Comment 1 Exceptions Reporter 2015-05-18 14:51:37 UTC
Created attachment 153730 [details]
nps snapshot
Comment 2 Tomas Stupka 2015-05-18 16:53:50 UTC
FileOwnerQuery.getOwner -> ProjectManager.findProjects eventually has to load a project or might block AWT

please evaluate if this has to happen in AWT and in scope of RSMDataObjectAction
Comment 3 Tomas Stupka 2015-05-18 17:00:27 UTC
oops, wrong project/component, so please ignore previous comment ...

and please evaluate if FileOwnerQuery.getOwner -> ProjectManager.findProjects has to be called in scope of awt and PageFlowView init
Comment 4 Petr Hejl 2015-07-02 20:52:01 UTC
Fixed in web-main f1c2697e1f82.
Comment 5 Quality Engineering 2015-07-04 02:08:19 UTC
Integrated into 'main-silver', will be available in build *201507040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f1c2697e1f82
User: Petr Hejl <phejl@netbeans.org>
Log: #252468 - org.netbeans.api.project.ProjectManager$2.run: LowPerformance took 21954 ms.