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 226974 - org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance took 37119 ms.
Summary: org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance to...
Status: RESOLVED DUPLICATE of bug 230985
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE
: 230176 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-04 11:30 UTC by Exceptions Reporter
Modified: 2013-07-15 09:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 199253


Attachments
nps snapshot (467.33 KB, application/nps)
2013-03-04 11:30 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-03-04 11:30:23 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 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7
Maximum slowness yet reported was 37119 ms, average is 37119
Comment 1 Exceptions Reporter 2013-03-04 11:30:30 UTC
Created attachment 132145 [details]
nps snapshot
Comment 2 Dusan Balek 2013-03-28 15:12:31 UTC
Couple of attached profiler snapshots that I've checked, show AWT EDT (inside GsfReformatTask) waiting for the parser lock which is held by slow HTML indexing.
Comment 3 Dusan Balek 2013-06-10 09:40:35 UTC
*** Bug 230176 has been marked as a duplicate of this bug. ***
Comment 4 Marek Fukala 2013-07-12 11:47:20 UTC
In the few randomly chosen snapshots from 7.3 build I always see the  PhpProjectUtils.reformatFile() being run from php new file wizard in EDT. Such operation IMO should not run in EDT as Dusan pointed out - the reformat lock tries to obtain parser lock which may be blocked by scanning. Not sure why dusan thinks html indexing is slow, but nevermind...
Comment 5 Ondrej Brejla 2013-07-15 08:59:45 UTC
Reassigning to project.
Comment 6 Tomas Mysik 2013-07-15 09:00:31 UTC

*** This bug has been marked as a duplicate of bug 230985 ***