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: | Close on parsed document is slow. | ||
---|---|---|---|
Product: | xml | Reporter: | issues@www <issues> |
Component: | Code | Assignee: | _ lkramolis <lkramolis> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | ARCH, PERFORMANCE |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 17297 | ||
Bug Blocks: | 20532 | ||
Attachments: | Patch to rollback (if fails) |
Description
issues@www
2001-09-21 12:01:02 UTC
I believe it is caused by the same problem in org.openide.text.PositionRef$Manager and slow closing of .java file #11692 *** This issue has been marked as a duplicate of 11692 *** I think, it is not only caused by #11692. When TAX is built and user close editor, then swing Document is also closed and TAX is re-parsed from stream. And this re-parsing is very expensive, and may be it will be main reason of poor performance. Depends on 17297 - new ???EditorSupport should better support two document representations (Swing and TAX Documents). Target milestone -> 3.3.1. Target milestone -> 3.3.1. *** Issue 18015 has been marked as a duplicate of this issue. *** *** Issue 19827 has been marked as a duplicate of this issue. *** Await near 1 min on documet close is realy long time. Less patient user cat think that is deadlock *** This issue has been marked as a duplicate of 22732 *** I do not think issue 22732 describes same problem -> reopened. Created attachment 6053 [details]
Patch to rollback (if fails)
Patched. Could anybody review/rollback it. I have not found any side effect, but you may know the code better. Thanks Interesting. It could solve this problem with disable XML Tree Editor module, but when enabled the problem still remains, I think. Sorry, I wrongly read != condition. Now I see different problem. Text representation will never be removed when installed XML Tree Editor module. Patch fixed it. Now there is only visible slowdown while saving the document. Hopefully it is tolerable for save action. VERIFIED Resolved for 3.4.x or earlier, no new info since then -> closing. |