org.hibernate.engine.spi.EntityEntry is being a performance bottleneck because of the size of the object: it's frequently allocated. We can actually remove a couple of unnecessary fields, moving it from 72 to 64 bytes in size.