HHH-8947 Optimize performance of ServiceRegistry for intense lookup,
small contents and almost no writes

Conflicts:
	hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java
HHH-8946 Optimize JdbcCoordinatorImpl for CPU performance

- unnecessary HashMap lookups
- size HashMap allocations appropriately
- a leak of tracked statements
- complex logging logic

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java
HHH-8946 corrected bug in register(ResultSet, Statement), improved
javadoc
HHH-8814 : Sequence generators on HSQLDB starts on 1 by default
HHH-8814 : test case
HHH-8814 simplified the test a bit
HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping).
HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
StatefulPersistenceContext's Map#resize calls

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders
HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey
instances

Remove tenantId field from CacheKey: use a different type when tenants
are needed. Also remove the Type as we should be able to rely on the
entityOrRoleName String.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cache/spi/CacheKey.java
HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required
HHH-8945 increased default map size
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query
perform

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/query/spi/HQLQueryPlan.java
HHH-8961 corrected test failure