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 - ExplorerManager.setSelectedNodes -> DefaultEMLookup.updateLookups -> ... (12s)
Summary: ExplorerManager.setSelectedNodes -> DefaultEMLookup.updateLookups -> ... (12s)
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-09-22 12:17 UTC by Tomas Mysik
Modified: 2012-06-20 14:42 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179429


Attachments
nps snapshot (175.91 KB, application/nps)
2011-09-22 12:17 UTC, Tomas Mysik
Details

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