Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362994 - [pivot] Revise the ScopeAdapters to be stateless
Summary: [pivot] Revise the ScopeAdapters to be stateless
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: M5   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-06 10:00 EST by Ed Willink CLA
Modified: 2013-05-20 11:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.