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 256449 - NbActiveDocumentProvider and I/O in EDT: LowPerformance took 26636 ms.
Summary: NbActiveDocumentProvider and I/O in EDT: LowPerformance took 26636 ms.
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-11-08 21:37 UTC by Exceptions Reporter
Modified: 2016-06-20 09:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221043


Attachments
nps snapshot (19.10 KB, application/nps)
2015-11-08 21:37 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-11-08 21:37:38 UTC
This bug was originally marked as duplicate of bug 252824, 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.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
GUEST: IDE freezed for 5 or more sec. It makes all the time... I have clean win 10.



Maximum slowness yet reported was 26636 ms, average is 26636
Comment 1 Exceptions Reporter 2015-11-08 21:37:40 UTC
Created attachment 157217 [details]
nps snapshot
Comment 2 Jaroslav Havlin 2015-11-09 09:55:42 UTC
Calling o.n.m.parsing.nb.indexing.NbActiveDocumentProvider.propertyChange() results in some I/O in EDT.

Reassigning to editor/Parsing & Indexing.
Tomas, please evaluate. Thank you very much.
Comment 3 Jaroslav Havlin 2015-11-09 10:01:45 UTC
Note: The actual slowness is caused by java.io.WinNTFileSystem.getBooleanAttributes[native]() in both reported profiler snapshots. This is quite common problem in NTFS, the filesystem is very slow sometimes.
Comment 4 Tomas Zezula 2016-06-20 08:55:00 UTC
Hmmm, can be solved by splitting the ActiveDocumentProvider.propertyChange to EDT sync part and async part executed by an Executor. However it's quite complex.
Comment 5 Tomas Zezula 2016-06-20 09:59:27 UTC
Fixed jet-main 8860e97e7083