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 225191 - 93s - PhysicalView$ProjectIconNode.swap() does a lot of I/O in EDT
Summary: 93s - PhysicalView$ProjectIconNode.swap() does a lot of I/O in EDT
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: PERFORMANCE
: 225189 231791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-22 14:53 UTC by Alexander Simon
Modified: 2013-08-30 07:05 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197751


Attachments
nps snapshot (259.29 KB, application/nps)
2013-01-22 14:53 UTC, Alexander Simon
Details
YourKit report (1.30 KB, text/plain)
2013-01-29 13:45 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-01-22 14:53:19 UTC
Build: NetBeans IDE Dev (Build 20130122-804d6d6b4eac)
VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: SunOS

User Comments:
GUEST: I was trying to open and start working with a project. I haven't made any changes to any files, or even try to open anything.



Maximum slowness yet reported was 97824 ms, average is 65275
Comment 1 Alexander Simon 2013-01-22 14:53:23 UTC
Created attachment 130492 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2013-01-23 15:43:28 UTC
Few calls to org.netbeans.modules.project.ui.PhysicalView$ProjectIconNode.getIcon()	
result in enormous disk activity:
org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory$Data.hasFile()

could the 
org.netbeans.modules.project.ui.PhysicalView$ProjectIconNode.swap()
be rescheduled outside of EDT?
Comment 3 Jaroslav Tulach 2013-01-23 15:54:57 UTC
*** Bug 225189 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Simon 2013-01-29 13:45:10 UTC
Created attachment 130784 [details]
YourKit report
Comment 5 Alexander Simon 2013-01-29 13:46:32 UTC
(In reply to comment #4)
> Created attachment 130784 [details]
> YourKit report
Sorry wrong comment
Comment 6 Milos Kleint 2013-06-26 07:25:51 UTC
*** Bug 231791 has been marked as a duplicate of this bug. ***
Comment 7 Alexander Simon 2013-06-26 08:00:07 UTC
36 exception reports + 2 duplicate => P2
Comment 8 Milos Kleint 2013-06-26 08:01:16 UTC
(In reply to comment #7)
> 36 exception reports + 2 duplicate => P2

where did you get that rule?
Comment 9 Milos Kleint 2013-08-30 07:05:37 UTC
only appears to happen with 1.7.0_13 maximum. Might have been an issue with early 1.7 jdks. Please reopen if you encounter with update 21 or 25.