On Tue, Oct 7, 2014 at 7:48 AM, Emmanuel Bourg <ebo...@apache.org> wrote:

> Le 07/10/2014 11:26, Emmanuel Bourg a écrit :
>
> > If nobody object I'll remove this cache, the impact on the performance
> > is too important to enable it by default, and the static state smells
> > like a quick and dirty implementation. This feature could return as a
> > pluggable cache if someone wants to provide a patch.
>
> I looked at the cache in ObjectType, this one keeps only 200 instances.
> When parsing rt.jar it saved 92% of the ObjectType instances and ~13MB
> of memory. The overhead was about 7% (820ms instead of 767ms).
>
> I wonder if this one is worth keeping.
>

Can you flush it? Can you disable it?

Gary

>
> Emmanuel Bourg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to