Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12644

ServiceConfigManagerImpl initialization is not synchronized correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0, 5.5.2
    • Component/s: sms
    • Labels:
      None
    • Target Version/s:
    • Needs backport:
      Yes
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      There is an edge-case in ServiceConfigManagerImpl which would allow the creation of new ServiceConfigManagerImpl instances even when there is a valid instance already in the cache. In this scenario the previous valid instances are removed from configManagerImpls, but their listeners and the objects will stay around, causing a very minor memory leak.

      How to reproduce the issue

      Don't really have reproduction steps for this one.

      Expected behaviour

      ServiceConfigManagerImpl initialization is well synchronized.

      Current behaviour

      It isn't.

        Attachments

          Activity

            People

            • Assignee:
              peter.major Peter Major [X] (Inactive)
              Reporter:
              peter.major Peter Major [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: