[stringtemplate-interest] it's 60% of time in ObjectModelAdaptor.getProperty()

Johan Stuyts j.stuyts at javathinker.com
Sun Feb 6 13:08:44 PST 2011


> Talking about the default class loaders here I am almost 100% sure
> they keep their classes forever. Otherwise static fields once
> initialized might loose their values.

This could indeed be a reason why it won't work. The semantics of static  
fields is affected by unloading classes, and this can be a reason to  
prevent a class from being unloaded before its class loader is garbage.

Anyway, moving away from a single class loader makes this point moot.

Johan


More information about the stringtemplate-interest mailing list