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

ThreadLocal access in ManagedSessionContext does not need synchronization

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.9
    • Component/s: hibernate-core
    • Labels:
      None
    • Last commented by a user?:
      true

      Description

      The ManagedSessionContext is protecting access to its ThreadLocal CONTEXT_TL wich a static sychronization, which turns out to be unnecessary.

        Attachments

          Activity

            People

            • Assignee:
              sanne Sanne Grinovero
              Reporter:
              sanne Sanne Grinovero
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: