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

Bug 362994

Summary: [pivot] Revise the ScopeAdapters to be stateless
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2.0   
Target Milestone: M5   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-11-06 10:00:26 EST
Each CS and AS element currently acquires its own ScopeAdapter to provide scope resolution behaviour. This is needlessly costly; changing them to stateless could save up to 50% of object creation during parsing.

While doing this revision, scoping APIs can be revisited with a view to easing auto-generation and re-use in an Xbase-style.
Comment 1 Ed Willink CLA 2012-01-04 16:10:36 EST
All scope adapters other than the Import/Include/Library adapters are now stateless singletons.
Comment 2 Ed Willink CLA 2013-05-20 11:37:11 EDT
CLOSED after a year in the RESOLVED state.