Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
psusen: Opening a project from the Recent Projects list on the My NetBeans startup page.
GUEST: the ide was loading
issaojr: slowness during starting up the program
artisan: Open a project
Maximum slowness yet reported was 7396 ms, average is 4812
Created attachment 103578 [details]
I have evaluated 2 snapshots. In both the problem is that someone is holding ProjectManager.mutex().writeAccess for way too long.
Let's start with report 507261 - the problematic invocation goes from CND. I am reassigning for evaluation.
Please check whether it is really necessary to hold the mutex for 56 seconds.
In editor we are trying to read some project preferences while the user is typing ...
Maybe the problem is in
where it is obtaining the lock. If you agree please assign to projects category.
(In reply to comment #2)
> Let's start with report 507261 - the problematic invocation goes from CND.
True, but not very relevant. ProjectXMLCatalogReader.projectXmlCombinedSchema (project.ant) is taking 20 sec, which is far outside the normal range; probably just swamped by I/O activity elsewhere. I do not see anything fixable here.
As to the actual freeze in EQ, note that ProjectAwareCodeStylePreferences.CSP.<init> is what is blocking on PM.mutex; postReadRequest does _not_ run asynch in general.
I agree with Jesse. The root cause is ProjectAwareCodeStylePreferences.CSP.<init> and I/O is something that always can be slow
*** Bug 191079 has been marked as a duplicate of this bug. ***
Fixed in jet-main.