[
https://issues.apache.org/jira/browse/GROOVY-9631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051959#comment-18051959
]
ASF GitHub Bot commented on GROOVY-9631:
----------------------------------------
jdaugherty closed pull request #2365: GROOVY-9631: make Metaclass read thread
safe
URL: https://github.com/apache/groovy/pull/2365
> Replace legacy data structure with Java collection
> --------------------------------------------------
>
> Key: GROOVY-9631
> URL: https://issues.apache.org/jira/browse/GROOVY-9631
> Project: Groovy
> Issue Type: Improvement
> Reporter: Daniel Sun
> Assignee: Daniel Sun
> Priority: Major
> Labels: breaking
> Fix For: 4.0.0-alpha-1
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> *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*
> * [https://github.com/apache/groovy/pull/1306]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)