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/19 17:12:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17787628#comment-17787628 ] 

Eric Milles commented on GROOVY-11230:
--------------------------------------

https://github.com/apache/groovy/commit/0862c57db6c8963d39f76af8fa20d26f3ec68046

> 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
>
> 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)