Closed
Description
Juergen Hoeller opened SPR-11356 and commented
As of JDK 7 and apparently also recent JDK 6 versions, java.beans.Introspector has a proper weak cache for BeanInfo objects. As a consequence, we can probably drop our immediate Introspector.flushFromCaches call in the CachedIntrospectionResults constructor - at least on recent JDKs -, not least of it all to avoid the locking implied by that call.
Affects: 4.0 GA
Issue Links:
- Improve the performance of BeanInfo lookups in CachedIntrospectionResults [SPR-9014] #13653 Improve the performance of BeanInfo lookups in CachedIntrospectionResults
- CachedIntrospectionResults caching jar entries and creating big pressure on GC [SPR-11818] #16438 CachedIntrospectionResults caching jar entries and creating big pressure on GC