Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 62143

Summary: JDT should not use background threads but use core Jobs [general issue]
Product: [Eclipse Project] JDT Reporter: Chris Laffra <Chris_Laffra>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: kai-uwe_maetzel, laffrac
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Chris Laffra CLA 2004-05-13 14:10:27 EDT
JDT uses at least 3 threads: All Types Caching, JavaReconciler, and Java 
Indexer. For performance monitoring and profiling purposes, these should
be moved to the core jobs facility. 

Currently, the threads run in the background and make calls to 
Display.asyncExec. This makes their behavior difficult to track. If you
really need access to the UI from these threads, use a UI job.
Comment 1 Philipe Mulet CLA 2004-05-13 15:48:23 EDT
Moving to UI who owns 2 of the 3 items listed.
We already have a record for the background indexer to be surfaced as a true 
job, but we deferred these changes post 3.0 since were too risky at this point.
Comment 2 Dirk Baeumer CLA 2004-05-13 18:36:55 EDT
Kai, can you please comment.

For the all types cache: I am reluctent to change this because this will 
introduce a couple of new dead-lock scenarios.
Comment 3 Dirk Baeumer CLA 2004-05-26 11:15:01 EDT
Not for 3.0.
Comment 4 Martin Aeschlimann CLA 2006-03-30 02:47:01 EST
All type caching is gone since 3.1.
Reconcile is text.
Comment 5 Dani Megert CLA 2006-03-30 03:04:40 EST

*** This bug has been marked as a duplicate of 98063 ***