Bug 570947

Summary: should all these threads keep hanging around even after i closed all editors?
Product: [Eclipse Project] Platform Reporter: Johan Compagner <jcompagner>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: mistria, thatnitind
Version: 4.18   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
the threads that are hanging none

Description Johan Compagner CLA 2021-02-05 03:44:24 EST
Created attachment 285452 [details]
the threads that are hanging

i am not sure where i should report this, because maybe the problem could be in Wild Web Developer (and 1 of the projects that builds on)

But after a while, and even after i close all my editors a lot of these:

Daemon Thread [org.eclipse.ui.internal.genericeditor.DefaultWordHighlightReconciler] (Running)	


and

Daemon Thread [org.eclipse.ui.internal.genericeditor.folding.DefaultFoldingReconciler] (Running)	


are hanging around
Comment 1 Mickael Istria CLA 2021-02-05 03:47:54 EST
That's indeed a bad smell. It looks like the reconcilers are kept and not uninstalled from viewer. This is most likely a bug in generic editor.
Comment 2 Mickael Istria CLA 2021-03-01 05:44:21 EST
I did try a few files of different sizes with various LS and open/closed them randomly; and then closed them all; but didn't get any "zombie" reconciler thread kept.
Do you have more details about how to reproduce (some specific files being used)? Can you pause the reconcilier threads to see what's the pending operation?
Comment 3 Johan Compagner CLA 2021-03-01 06:13:04 EST
i will try, i think it is related to something else
like having editors (and LS servers open) and then suspending my laptop and resuming it the next day

i am running my own developer constantly now through a source/debug run so i will try to monitor this and look if i can get more info