Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2641

Hibernate performs unnecessary dirty-checking, eating up high CPU

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Medium
    • None
    • None
    • None
    • None

    Description

      Crowd seems to be affected by the following problem during application syncs, whereby calls to java.lang.Class.getInterfaces() consumes a high amount (~80%) of the CPU:
      https://forum.hibernate.org/viewtopic.php?p=2404651

      Quoting the above thread:

      Hibernate seemed to be spending a lot of time in each query checking if the loaded entities were dirty and in need of flushing.

      The above user was able to bypass this performance problem by passing a query hint "org.hibernate.readOnly".

      Attachments

        Activity

          People

            Unassigned Unassigned
            rchang Robert Chang
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: