Avoid reloading JAR files after garbage collections in low-memory configurations
Right now if there’s a garbage collect, the
Submitted by Lennart Kats on 30 June 2010 at 18:15WeakWeakMap<Descriptor, StrategoObserver>
gets cleared, requiring the JAR or CTREE file that accompanies the StrategoObserver to be reloaded. Keeping a weak reference to the StrategoObserver has proved to be leaky. Keeping a weak reference to the class loader may also by risky if its classes somehow have static references to the HybridInterpreter or the ASTs. So maybe we need a soft reference to the class loader or the StrategoObserver again?
Issue Log
On 8 January 2013 at 12:55 Eelco Visser removed tag 1.3
On 8 January 2013 at 12:55 Eelco Visser tagged interesting
On 8 January 2013 at 17:11 Gabriël Konat removed tag interesting
On 8 January 2013 at 17:11 Gabriël Konat tagged runtime
Log in to post comments