[ https://issues.apache.org/jira/browse/GROOVY-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788044#comment-17788044 ]
Eric Milles commented on GROOVY-11230: -------------------------------------- The article mentions resizing the map. In our case, we guaranteed the capacity at creation time and cap the size. > 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)