groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-7977) Refine the implementation of LRUCache
Date Sat, 04 Feb 2017 01:47:51 GMT

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

Daniel Sun resolved GROOVY-7977.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0

Fixed in the parrot branch

> Refine the implementation of LRUCache
> -------------------------------------
>
>                 Key: GROOVY-7977
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7977
>             Project: Groovy
>          Issue Type: Improvement
>    Affects Versions: 2.4.7
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: text.html, text.html, text.html, text.html, text.html, text.html,
text.html, text.html
>
>
>          I found the LRUCache that Groovy is using is not efficient enough because it
is based on Collections.synchronizedMap, the LRUCache is used by some important classes(e.g.
ProxyGenerator, Closure), so it can impact the performance somehow. 
>          I propose to replace the implementation with Caffeine(https://github.com/ben-manes/caffeine),
which is a high performance caching library for Java 8 and licensed under APL2.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message