Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
BACKGROUND
Groovy home-made data structures are lack of maintainence for a long time, so it's better to replace them with mature and continuously improving data structure from JDK
SCOPE
- Deprecate redundant AbstractConcurrentMapBase, AbstractConcurrentMap, ManagedConcurrentMap, and their related inner classes, e.g. Entry
- Replace ManagedConcurrentMap with ManagedIdentityConcurrentMap, which is base on ConcurrentHashMap
- Deprecate ComplexKeyHashMap, SingleKeyHashMap and TripleKeyHashMap. Note: TripleKeyHashMap is only used by never called method
- Polish Index and MethodIndex in the class MetaClassImpl, they derive from SingleKeyHashMap
BENEFITS
- Better maintainence and readability
- Continuously improving data structure from JDK
PULL REQUEST
Attachments
Issue Links
- is cloned by
-
GROOVY-9921 Replace legacy data structure with Java collection(SingleKeyHashMap)
- Closed