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 202491

Summary: ExplorerManager.setSelectedNodes -> DefaultEMLookup.updateLookups -> ... (12s)
Product: platform Reporter: Tomas Mysik <tmysik>
Component: ExplorerAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alexvsimon, arittner, cryszana, jglick, mjreged, slavikme
Priority: P3 Keywords: PERFORMANCE
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 179429
Attachments: nps snapshot

Description Tomas Mysik 2011-09-22 12:17:18 UTC
This issue was reported manually by tmysik.
It already has 7 duplicates 


Build: NetBeans IDE Dev (Build 20110922-f7ba31e7829d)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
tmysik: Opening and closing a folder in Projects view

tmysik: PHP file opened

tmysik: Fast openening and closing of many PHP files (adding licences)

tmysik: Fast opening and closing PHP files (adding licences)

tmysik: Fast openening and closing of many PHP files (adding licences)



Maximum slowness yet reported was 23542 ms, average is 11127
Comment 1 Tomas Mysik 2011-09-22 12:17:27 UTC
Created attachment 111032 [details]
nps snapshot
Comment 2 Tomas Mysik 2011-09-22 12:38:12 UTC
(In reply to comment #0)
> This issue was reported manually by tmysik.

Sorry, reported manually since I had to restart NB manually (totally unusable).

Thanks.
Comment 3 Jesse Glick 2011-10-18 22:05:54 UTC
Not sure exactly what is going on, but I think DefaultEMLookup.propertyChange should call updateLookups asynch; in the features snapshot, uL is called just once but there are 293 listeners. (I have no idea how this could be true; LoadOpenProjects is a singleton, for example, and when I try it, its resultChanged is called just once per selection change as expected.)
Comment 4 Jaroslav Tulach 2012-06-20 14:42:50 UTC
Last report is from one year old build: 110728. Works for me.