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

Bug 336966

Summary: [markers] Better scheduling of the delete and update AJ markers job
Product: [Tools] AJDT Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: CoreAssignee: AJDT-inbox <AJDT-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1.2   
Target Milestone: 2.1.3   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Andrew Eisenberg CLA 2011-02-11 11:40:44 EST
When the DeleteAndUpateAJMarkers job is running in the background, it is possible to get UI lockup if a user tries to save a file that is part of the job.

We should be more careful about which locks we are grabbing and be better about releasing them sooner.

Currently, DeleteAndUpateAJMarkers first deletes all old markers and then adds the new ones.  Instead, we should be able to delete all markers for a single file, and then run the updates for that single file.  And we continue to do this for all files individually.  In this case, we would only need to grab a lock on a single file at a time.
Comment 1 Andrew Eisenberg CLA 2011-02-18 12:30:15 EST
I have made a few small changes that I think will help in this area.  I won't close this issue until I am more certain of this, though.
Comment 2 Andrew Eisenberg CLA 2011-04-15 12:12:31 EDT
I think this is ready to be closed as fixed.