Concurrency bottleneck in EntityModeToTuplizerMapping.getTuplizerOrNull()
Issue
Many threads are blocked with the stack traces like:
java.util.Collections$SynchronizedMap.get(Collections.java:1975)
org.hibernate.tuple.EntityModeToTuplizerMapping.getTuplizerOrNull(EntityModeToTuplizerMapping.java:53)
org.hibernate.tuple.EntityModeToTuplizerMapping.getTuplizer(EntityModeToTuplizerMapping.java:66)
org.hibernate.tuple.entity.EntityMetamodel.getTuplizer(EntityMetamodel.java:105)
org.hibernate.persister.entity.AbstractEntityPersister.getTuplizer(AbstractEntityPersister.java:3193)
...
Environment
- JBoss Enterprise Application Platform (EAP) 4.3 CP 04 or earlier
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.