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 225356 - org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance took 15072 ms.
Summary: org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance to...
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-01-25 15:41 UTC by Grelek
Modified: 2013-08-22 08:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 198000


Attachments
nps snapshot (199.63 KB, application/nps)
2013-01-25 15:41 UTC, Grelek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grelek 2013-01-25 15:41:22 UTC
This bug was originally marked as duplicate of bug 183962, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: OpenJDK 64-Bit Server VM, 23.2-b09, OpenJDK Runtime Environment, 1.7.0_09-b30
OS: Linux
Maximum slowness yet reported was 15072 ms, average is 15072
Comment 1 Grelek 2013-01-25 15:41:27 UTC
Created attachment 130653 [details]
nps snapshot
Comment 2 Dusan Balek 2013-08-22 07:54:19 UTC
Analyzing couple of recent snapshots attached to the Exception Reports, EDT is blocked by GsfReformatTask trying to acquire the parser lock while extremely slow PHP hints computation/parameters completion is in progress.
Comment 3 Ondrej Brejla 2013-08-22 08:24:29 UTC
There is a lot of very old snapshots, from 7.1 and such. Reformat is not blocked just by PHP hints, some newer snapshots contain php semantic highlighter, which has been fixed in 7.4 dev, some snapshots also contains slow HTML hints. We also implemented some cancellability to php hints provider, so try latest dev build and test it there. Thanks.