Announcement Announcement Module
Collapse
No announcement yet.
Performance problem in CachedIntrospectionResults flushing the Introspector cache Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Performance problem in CachedIntrospectionResults flushing the Introspector cache

    The constructor of CachedIntrospectionResults makes an effort to clean the caches of java.beans.Introspector (as described in SPR-4876). However, while doing so, it cleans not only the bean info of the class itself but of its superclasses as well, up to java.lang.Object, including. This leads to Introspector attempting to load java.lang.ObjectBeanInfo class again and again. In an application with thousands of classes and multiple entries in the classpath, this may result in close to million lookups in JAR files for the ObjectBeanInfo alone, not mentioning other BeanInfo classes along the way.
    The question is why the superclasses' info is cleaned?
Working...
X