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 226057

Summary: org.netbeans.api.project.ProjectManager$2.run: LowPerformance took 84054 ms.
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal CC: alexvsimon, hearvishwas, Leong_Kam_Wei, mkleint, pekarna
Priority: P4 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 198258
Attachments: nps snapshot
nps snapshot
nps snapshot

Description Exceptions Reporter 2013-02-13 12:53:27 UTC
Build: NetBeans IDE 7.3 RC2 (Build 201302050851)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Windows 7

User Comments:
GUEST: importing java files

hearvishwas: when i was opening a project

mkleint: right clicking on git repository root in favourites view



Maximum slowness yet reported was 84054 ms, average is 27055
Comment 1 Exceptions Reporter 2013-02-13 12:53:30 UTC
Created attachment 131344 [details]
nps snapshot
Comment 2 Milos Kleint 2013-02-13 13:53:37 UTC
refactoring's ClipboardComvertor gets classpath which eventually calls FOQ + ProjectManager.findProject() in this case it's stuck on project mutex waiting for other thread's write access, but in general can also wait on project loading itself.
please evaulate if the clipboard convertor has to do that.
Comment 3 Alexander Simon 2013-02-15 07:22:48 UTC
Created attachment 131417 [details]
nps snapshot

open remote project
Comment 4 Exceptions Reporter 2013-02-21 20:26:03 UTC
Created attachment 131694 [details]
nps snapshot

Eu apenas abri um arquivo .php (I just open a file .php)
Comment 5 Ralph Ruijs 2015-05-11 09:32:33 UTC
(In reply to Milos Kleint from comment #2)
> refactoring's ClipboardComvertor gets classpath which eventually calls FOQ +
> ProjectManager.findProject() in this case it's stuck on project mutex
> waiting for other thread's write access, but in general can also wait on
> project loading itself.
> please evaulate if the clipboard convertor has to do that.

canMove checks if the file moved is from an opened project, not much we can change there.