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.
During typing in editor the typing is sometimes sluggish, this occur after some idle time (maybe after background parser triggers) or after typing "new " or "." when completion popup is triggered. After measurements in OptimizeIt, 49% of AWT is taken by JavaEditor$10.actionPerformed() -> JavaEditor$JavaEditorComponent.selectElementsAtOffset() that enters javacore.ExclusiveMutex.enter() AWT is blocked by waiting for Mutex leave, what can depend on CompletionQuery finishing or some other background process that locks Mutex.
sorry for wrong assignment...
Fixed. Checking in JavaNode.java; /cvs/java/src/org/netbeans/modules/java/JavaNode.java,v <-- JavaNode.java new revision: 1.99.6.5; previous revision: 1.99.6.4 done Checking in JavaEditor.java; /cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v <-- JavaEditor.java new revision: 1.155.6.22; previous revision: 1.155.6.21 done I moved several "beginTrans's" from awt thread. AWT is not blocked on my windows machine any more. Please verify on different platform or reopen if awt is still blocked during typing.
Verified in dev-050718