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.
Summary: | org.netbeans.modules.editor.indent.IndentImpl.reformatLock: LowPerformance took 32006 ms. | ||
---|---|---|---|
Product: | php | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | error403, gokiyono, sdedic |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 199873 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2013-03-25 15:00:56 UTC
Created attachment 133042 [details]
nps snapshot
AWT EDT (inside GsfReformatTask) waits for the parser lock which is held by PHPHintsProvider.computeErrors(). Please consider to make the PHPHintsProvider cancellable. Svato, is it possible to make csl.api.HintsProvider cancellable? Too much queries to index when resolving inherited elements (reporter has probably really big type inheritance). The HintsProvider already has a cancel() method, but the method is not actually called. I implemented calling in Hints/Selection/ tasks in rev. http://hg.netbeans.org/jet-main/rev/94e92ea55bfa Integrated into 'main-golden', will be available in build *201305182300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/94e92ea55bfa User: Svata Dedic <sdedic@netbeans.org> Log: #227911: CSL forwards cancel request to the HintsProvider being just executed PHP Hints are cancellable. Probably it could work now, when CSL passes cancel :) Can't do more (maybe rewriting index querying should help...it's planned for some of next releases). |