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

Activity

Show:
Brett Meyer
February 28, 2014, 6:56 PM

Note that this will be reverted by HHH-9010. A regression was found – see the discussion on https://github.com/hibernate/hibernate-orm/pull/689

Brett Meyer
February 18, 2014, 7:43 PM

Thanks Sanne!

Fixed

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