Hi all, I find Groovy caches Class instances with strong reference[1][2], which will prevent Class instances unloading and may cause memory leak.
Should we replace strong reference with soft reference? Any thoughts? Cheers, Daniel.Sun [1] https://github.com/apache/groovy/blob/master/src/main/groovy/groovy/lang/GroovyClassLoader.java#L93 [2] https://github.com/apache/groovy/blob/master/src/main/groovy/groovy/lang/GroovyClassLoader.java#L99 -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html