Uploaded image for project: 'Hibernate ORM'
  1. HHH-10366

Improve performance and reduce CPU load when fetching reference cached objects

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.6, 5.1.0
    • Component/s: hibernate-core
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              stalep Ståle W. Pedersen
              Reporter:
              stalep Ståle W. Pedersen
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: