You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/11/11 02:02:05 UTC

[jira] [Closed] (GROOVY-9631) Replace legacy data structure with Java collection

     [ https://issues.apache.org/jira/browse/GROOVY-9631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-9631.
-----------------------------

> 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.3.4#803005)