Community
Participate
Working Groups
Created attachment 287060 [details] Multiple thread dumps taken from the frozen Eclipse process The UI very often freezes forever when triggering Java code completion in inner classes/lambdas. I did not experience this in earlier Eclipse releases. I am attaching some thread dumps and a screenshot from visualvm when running the thread sampler.
Created attachment 287061 [details] UI thread as seen in visual vm
Could you provide steps to reproduce? Ideally a simple self containing example file or project.
It is very difficult to create a reproducer as I am having the issue mainly in a complex internal project. I am attaching another screenshot where it looks like most of the time is spent in LSP4J's StreamMessageProcessor and the "Consume LS error stream" thread.
Created attachment 287136 [details] 100% CPU Usage in StreamMessageProducer and "Consume LS error stream" thread
Created attachment 287137 [details] Reproducer Java Project After another 20 forced crashes I managed to create a reproducer. If you import the project, open the Reproducer.java and insert dot (.) in Line 10, this will freeze the Eclipse UI.
Created attachment 287138 [details] Reproducer Java Project I added a second Java file to reproduce the issue
I can reproduce this issue with the attached Java project in 4.20, but not anymore in 4.21 and in I20210917-1800. It seems to be a duplicate of bug 574912. Sebastian, thanks for reporting. Please upgrade to Eclipse 2021-09 (4.21) to get this and other content assist fixes (see bug 574913). *** This bug has been marked as a duplicate of bug 574912 ***