Concurrency bottleneck in EntityModeToTuplizerMapping.getTuplizerOrNull()

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content