We're updating the issue view to help you get more done. 

Improve performance and reduce CPU load when fetching reference cached objects

Description

When reference cached entities are fetched from cache, both a postLoad and afterInitialize calls are made which add up a lot of CPU time.

Several methods on DefaultLoadEventListener can be refactored to more easily be inlined, the LOG.isTracingEnabled call can be cached.

Environment

None

Status

Assignee

Ståle W. Pedersen

Reporter

Ståle W. Pedersen

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

5.0.5

Priority

Major