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: | TODOs are slow and memory intensive | ||
---|---|---|---|
Product: | contrib | Reporter: | _ pkuzel <pkuzel> |
Component: | Tasklist | Assignee: | tasklist-issues@contrib <tasklist-issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 6050, 37802, 38262, 38272, 42786 | ||
Bug Blocks: | |||
Attachments: |
SourceTasksView leak
Patch that improves scan perfomance if multiple optional modules senabled |
Description
_ pkuzel
2003-12-22 17:24:01 UTC
Both properties and java module needlesly parses their files on EditorCookie.openDocument() and EditorCookie.close() !!! calls. Created attachment 12661 [details]
SourceTasksView leak
I plan to add 'direct context' for XML files. No more fixes planned in 3.6 timeframe. Generic ENHANCEMENT for next releases depending on above issues (issue #6050). Trond posted enhancement of TODOs scanning code. We can also narrow providers if only TODOs client view is active. Another pending improvement is java.nio usage. It could improve memory performance a little bit (shared buffer). Created attachment 13897 [details]
Patch that improves scan perfomance if multiple optional modules senabled
I attached simple patch that should eventually go to release36 too. It improves TODO scan scalability a little bit. It's must with optional modules installed. ProviderAcceptor.java concept introduced and used in broker code. task list has been completely rewritten |