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 230545

Summary: ProjectManager.findProject: LowPerformance took 20204 ms. readmutex in awt waits on long writemutex off-awt
Product: projects Reporter: Exceptions Reporter <exceptions_reporter>
Component: Generic InfrastructureAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal CC: racasagrande
Priority: P3 Keywords: PERFORMANCE
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 199482
Attachments: nps snapshot

Description Exceptions Reporter 2013-05-30 18:19:37 UTC
Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) Client VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
racasagrande: Cleaning and Building a project.



Maximum slowness yet reported was 28412 ms, average is 17880
Comment 1 Exceptions Reporter 2013-05-30 18:19:39 UTC
Created attachment 135157 [details]
nps snapshot
Comment 2 Milos Kleint 2013-06-05 06:23:10 UTC
AWT waits on project read mutex, while other thread is loading a project with write mutex on, within the write block time is spent on  native filesystem IO. related in problem cause to issue 192206
Comment 3 Milos Kleint 2013-06-12 11:17:56 UTC
http://hg.netbeans.org/core-main/rev/3157687f21a4
Comment 4 Quality Engineering 2013-06-13 01:18:56 UTC
Integrated into 'main-golden', will be available in build *201306122301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3157687f21a4
User: Milos Kleint <mkleint@netbeans.org>
Log: #230545 avoid loadProject(), can take significant amount of time, the file delete events can keep coming repeatedly, no need to load the recent projects here anyway..