Class
org.hibernate.engine.internal.NonNullableTransientDependencies
should attempt to not initialize the IdentityHashMap until it actually turns out to be needed.