Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances

Description

Instances of org.hibernate.cache.spi.CacheKey are a hot allocation point, and each one is currently taking 32 bytes each, we can reduce that to 24 bytes each.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure