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 177675

Summary: [68cat] EQ blocked in OpenProjectList.preferredProject
Product: projects Reporter: aldobrucale <aldobrucale>
Component: Generic InfrastructureAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: bsbc99, ejvyas, hanen105, ijay, jmichelberger, jtulach, krishnadasants, lolo_101, orlovpa, ostermann_bernd, smvda, sreimers
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 160581
Bug Depends on:    
Bug Blocks: 108120    
Attachments: nps snapshot
nps snapshot
nps snapshot
nps snapshot

Description aldobrucale 2009-11-26 07:29:40 UTC
Build: NetBeans IDE Dev (Build 200911251400)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.31-15-generic, i386

User Comments:
aldobrucale: starting nb

GUEST: Just started the IDE.

GUEST: Starting up the IDE.

aldobrucale: Starting netbeans


Maximum slowness yet reported was 23149 ms, average is 6751
Comment 1 aldobrucale 2009-11-26 07:29:55 UTC
Created attachment 91729 [details]
nps snapshot
Comment 2 hanen105 2009-12-22 10:02:54 UTC
Created attachment 92867 [details]
nps snapshot
Comment 3 krishnadasants 2010-01-10 22:22:57 UTC
Created attachment 93160 [details]
nps snapshot
Comment 4 ejvyas 2010-01-15 08:23:45 UTC
Created attachment 93331 [details]
nps snapshot

Opening Projects after restarting Netbeans
Comment 5 Antonin Nebuzelsky 2010-03-29 14:11:27 UTC
Change of default owner.
Comment 6 Jesse Glick 2010-04-13 00:12:16 UTC
Pretty random-looking assortment of snapshots, variously waiting for projects to be opened, some of them web projects (bug #174253), some not. Maybe nothing to be improved. Not entirely clear to me why this is running synch in EQ; this code was introduced by jtulach as part of lazy project work as far as I can tell.
Comment 7 Jaroslav Tulach 2010-04-13 08:21:22 UTC
The problem seems to be in too long hold on toOpenProjects lock. The last snapshots shows that 
org.netbeans.modules.project.ui.OpenProjectList.URLs2Projects()
takes too long. I am moving it outside the lock: core-main#b659692588df
Comment 8 Quality Engineering 2010-04-14 04:40:39 UTC
Integrated into 'main-golden', will be available in build *201004140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b659692588df
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #177675: Executed URLs2Projects outside of toOpenProjects  lock