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

Bug 331590

Summary: ModelManager overly-synchronized for getting referenceCounts
Product: [WebTools] WTP Source Editing Reporter: Nick Sandonato <nsand.dev>
Component: wst.sseAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 Keywords: performance
Version: 3.2.2Flags: thatnitind: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Nick Sandonato CLA 2010-12-01 14:17:25 EST
The ModelManagerImpl is overly-synchronized in a few places when reading reference counts. This has the potential to cause deadlocks.
Comment 1 Nick Sandonato CLA 2010-12-01 14:19:15 EST
Created attachment 184290 [details]
patch

Patch to avoid taking the SYNC lock, which is meant to guard the managed objects map.
Comment 2 Nick Sandonato CLA 2010-12-03 14:16:43 EST
Changes released.