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

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.0.5

Priority

Major