| Priority |
Normal |
| Type | Performance Problem |
| State | Obsolete |
| Assignee | Alexey Kudravtsev |
| Subsystem | Editor. Editing Text |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
6737
|
| Severity |
0
|
IDEA-11775 |
Java editing is slow |
|
|
An easy, preliminary solution might be to introduce a system-property that says how many cores IDEA should use, instead of using Runtime.getAvailableProcessors()
- It now uses too coarse grained locking on the highlighting thread, which leads to starvation of the editing thread.
- Performance gets much worse when opening more than one project. That seems like a plain bug to me.
We could both be right:-)in your case the problem seems to be in open project view :(
It does seem that way, but I am not doing anything with the project view. Why does it have to use so much cpu? And why does it use twice as much cpu when I have two projects open? But at least I have a workaround now, closing the project pane seems to alleviate the problem a bit.
Thanks for looking into it.
One thing I have just noticed is that if you have the IDE in a split configuration, ie. two sets of tab groups, certain things like "Reformat Code" occasionally trigger inspections in both editor panes. Obviously one of the editor panes won't have changed, so I'm not quite sure why it's being re-inspected.