[midPoint-git] [Evolveum/midpoint] b22f3b: Improve synchronization of provisioning listeners

mederly noreply at github.com
Sat May 25 23:20:32 CEST 2019


  Branch: refs/heads/support-3.9
  Home:   https://github.com/Evolveum/midpoint
  Commit: b22f3b013f5958356aae1a41e29d3e8247e7ac37
      https://github.com/Evolveum/midpoint/commit/b22f3b013f5958356aae1a41e29d3e8247e7ac37
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-05-25 (Sat, 25 May 2019)

  Changed paths:
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ChangeNotificationDispatcherImpl.java

  Log Message:
  -----------
  Improve synchronization of provisioning listeners

1. There were some places where synchronization was missing
2. We also added diagnostics of listeners leaks

(cherry-picked from bf9ddac7)


  Commit: f1433a6f61fea4bc3e1fee0cb455a798ea4d9055
      https://github.com/Evolveum/midpoint/commit/f1433a6f61fea4bc3e1fee0cb455a798ea4d9055
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-05-25 (Sat, 25 May 2019)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ChangeNotificationDispatcherImpl.java

  Log Message:
  -----------
  Fix leaking of change listeners (MID-5355)

When AssociationSearchExpressionEvaluatorCache was entered twice,
two invalidators for it were created and registered (by mistake).
Upon exiting the cache, only one of them was unregistered, because
the reference to the other one was already lost at that moment.


Compare: https://github.com/Evolveum/midpoint/compare/c2b1d9f21834...f1433a6f61fe


More information about the midPoint-svn mailing list