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 - ProjectManager.findProject: LowPerformance took 20204 ms. readmutex in awt waits on long writemutex off-awt
Summary: ProjectManager.findProject: LowPerformance took 20204 ms. readmutex in awt wa...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-05-30 18:19 UTC by Exceptions Reporter
Modified: 2013-06-13 01:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 199482


Attachments
nps snapshot (54.60 KB, application/nps)
2013-05-30 18:19 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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..