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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to