czukowski opened a new issue, #6039: URL: https://github.com/apache/netbeans/issues/6039
### Apache NetBeans version Apache NetBeans 18 ### What happened Right after invoking "Fix Imports" (Ctrl+Shift+I), the whole UI freezes for a prolonged period of time. During all that time a whole CPU core is at 100% use by the IDE. Eventually the dialog appears with the suggestions, the UI unfreezes and can be used again. Repeated use freeze the UI for about the same time. I work on a fairly large project, it does take a toll on the overall IDE performance, but the same action in NetBeans 17 usually took at most a couple of seconds. ### How to reproduce Just invoke "Fix Imports" (Ctrl+Shift+I) ### Did this work correctly in an earlier version? Apache NetBeans 17 ### Operating System Windows 10 ### JDK 18.0.2.1; OpenJDK 64-Bit Server VM 18.0.2.1+1-1 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else It's a fresh NetBeans install, user and cache directories just finished initializing. Release notes for NetBeans 18 mentions several changes to Fix Imports function, perhaps one of them is causing a performance issue. According to Process Explorer, memory usage remained stable, also no significant I/O access occurred for the duration. I've taken an IDE profiling snapshot in case it helps, where may I upload it? ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
