You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2019/08/12 08:35:00 UTC
[jira] [Resolved] (GROOVY-9218) Reduce the memory usage of
`MethodIndex` instances
[ https://issues.apache.org/jira/browse/GROOVY-9218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-9218.
--------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/groovy/commit/a955189d90c3a16340338db8fe87eaf3dad86130
> Reduce the memory usage of `MethodIndex` instances
> --------------------------------------------------
>
> Key: GROOVY-9218
> URL: https://issues.apache.org/jira/browse/GROOVY-9218
> Project: Groovy
> Issue Type: Improvement
> Reporter: Daniel Sun
> Assignee: Daniel Sun
> Priority: Major
> Fix For: 3.0.0-beta-4
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Make inner class `MethodIndex` `static` to reduce the memory usage of `MethodIndex` instances.
> FYI. A static inner class does not keep an implicit reference to its enclosing instance. This prevents a common cause of memory leaks and uses less memory per instance of the class.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)