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 183609

Summary: 21s - in both FileUtil.refreshAll
Product: platform Reporter: misterm <misterm>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: joao_candido, jpavao, maghiel, mvfranz, pluszak, ppis, stefan79, szmitek, tnleeuw, wobster
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 167658
Attachments: nps snapshot
nps snapshot

Description misterm 2010-04-06 22:48:58 UTC
Build: NetBeans IDE Dev (Build 100403-97deba2209a4)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP
Maximum slowness yet reported was 21859 ms, average is 10703
Comment 1 misterm 2010-04-06 22:49:04 UTC
Created attachment 96821 [details]
nps snapshot
Comment 2 Exceptions Reporter 2010-04-07 05:13:33 UTC
Created attachment 96833 [details]
nps snapshot
Comment 3 Jaroslav Tulach 2010-04-11 08:07:57 UTC
Both attached snapshots contain FileUtil-Refresh-All thread which may block the underlaying operating system (apple painting in one case, reading of preferences in the other).
Comment 4 Jaroslav Tulach 2010-04-12 16:06:16 UTC
*** Bug 183412 has been marked as a duplicate of this bug. ***
Comment 5 Jaroslav Tulach 2010-04-20 08:02:47 UTC
I have a reason to believe that after fixes made (bug 184344, bug 184219), the I/O load of the background thread shall be made much less intrusive. Only time can tell whether it will be enough to prevent this kind of slowness, however.