You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2019/07/15 09:20:00 UTC

[GitHub] [groovy] NecOnIce opened a new pull request #968: Fixed the Reference of the metaclass in ClassInfo.java to use a Weak…

NecOnIce opened a new pull request #968:  Fixed the Reference of the metaclass in ClassInfo.java to use a Weak…
URL: https://github.com/apache/groovy/pull/968
 
 
   …Reference now, so the Reference is cleaned up nearly immediately
   
   after freeing the last strong reference of the metaclass.
   
   Prior it was used a SoftReference which prevents the ClassLoader, the ClassInfo and the Metaclass instances from beeing garbage-collected
   until the JVM runs nearly into an OutOfMemoryException (PermGen). This leads to a JVM which is always near the maximum of memory usage.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services