Extended default collection size for common per-bean caches

Issue: SPR-13621
This commit is contained in:
Juergen Hoeller
2015-11-13 08:31:00 +01:00
parent 7b711c4aac
commit 98be36a306
10 changed files with 16 additions and 15 deletions

View File

@@ -190,7 +190,7 @@ public class PersistenceAnnotationBeanPostProcessor
private transient ListableBeanFactory beanFactory;
private transient final Map<String, InjectionMetadata> injectionMetadataCache =
new ConcurrentHashMap<String, InjectionMetadata>(64);
new ConcurrentHashMap<String, InjectionMetadata>(256);
private final Map<Object, EntityManager> extendedEntityManagersToClose =
new ConcurrentHashMap<Object, EntityManager>(16);