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: | Bad performance for large source with many implements annotations | ||
---|---|---|---|
Product: | java | Reporter: | Miloslav Metelka <mmetelka> |
Component: | Editor | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 116352, 197848 | ||
Bug Blocks: | 194816 |
Description
Miloslav Metelka
2011-04-14 12:40:08 UTC
I am looking at this - so far the most important problem seems to be folds (there are lots of them in the file). I have seen a near-OOME situation too. Will take a look at the hints after these two. A change in navigator - TreePathHandles are computed lazily for navigator elements, which is both performance and memory improvement: http://hg.netbeans.org/jet-main/rev/f3e78d858d9b Caching of ElementHandles, which improves memory consumption (the effect is probably visible mainly in pathological cases like Big.java from bug #194816): http://hg.netbeans.org/jet-main/rev/334ea69563f6 Integrated into 'main-golden', will be available in build *201104270000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f3e78d858d9b User: Jan Lahoda <jlahoda@netbeans.org> Log: #197743: compute TreePathHandles in navigator lazily to improve performance. Integrated into 'main-golden', will be available in build *201104280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f3e78d858d9b User: Jan Lahoda <jlahoda@netbeans.org> Log: #197743: compute TreePathHandles in navigator lazily to improve performance. |