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 252824 - org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.exists: LowPerformance took 31089 ms.
Summary: org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.exists: Lo...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-06-05 06:32 UTC by Exceptions Reporter
Modified: 2015-08-13 01:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217751


Attachments
nps snapshot (26.02 KB, application/nps)
2015-06-05 06:32 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-06-05 06:32:47 UTC
This bug was originally marked as duplicate of bug 227293, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
GUEST: Each time we switch tabs netbeans got hanged.



Maximum slowness yet reported was 31089 ms, average is 31089
Comment 1 Exceptions Reporter 2015-06-05 06:32:49 UTC
Created attachment 154065 [details]
nps snapshot
Comment 2 Jaroslav Havlin 2015-08-10 14:10:48 UTC
File change listeners are added in EDT.
Roots of the slowness are these two methods:

 - o.n.m.java.project.ProfileProblemsProviderImpl.getProblems()
 - o.n.m.java.project.ProjectProblemsProviders$ReferenceProblemProviderImpl.getProblems()

Also, the native filesystem (NTFS) could be slow or blocked at that moment.

Reassigning to java/Project. Please evaluate. Thank you.
Comment 3 Tomas Zezula 2015-08-11 13:59:29 UTC
Hmm, looking at the attachment 154065 [details] (https://netbeans.org/bugzilla/attachment.cgi?id=154065) there is none of the ProjectProblemsProviders there is window system deserialisation. Someone needs to clean his dashboard?
I will fix those which are related to the ProjectProblems and ignore the others.
Comment 4 Tomas Zezula 2015-08-11 16:19:58 UTC
The project problems snapshots fixed.
Fixed jet-main 1eedc205f0bb
Comment 5 Quality Engineering 2015-08-13 01:19:38 UTC
Integrated into 'main-silver', will be available in build *201508130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1eedc205f0bb
User: Tomas Zezula <tzezula@netbeans.org>
Log: #252824:org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.exists: LowPerformance took 31089 ms.