You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2023/11/28 23:43:00 UTC

[jira] [Resolved] (GROOVY-11230) ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting

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

Eric Milles resolved GROOVY-11230.
----------------------------------
    Fix Version/s: 5.0.0-alpha-3
       Resolution: Fixed

> ProxyGenerator creates a lot of AtomicReference instances regardless of "groovy.adapter.cache.default.size" setting
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-11230
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11230
>             Project: Groovy
>          Issue Type: Improvement
>          Components: groovy-runtime
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 5.0.0-alpha-3
>
>
> ProxyGenerator uses LRUCache which uses ConcurrentLinkedHashMap.  This creates a 2d array of AtomicReference that is sized based on number of processor cores, not cache sizing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)