mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
06.08.2009 1050ea9c70d1028b93f3d0784de1b30dd8444226
refs
author matthew_swift <matthew_swift@localhost>
Wednesday, May 6, 2009 22:08 +0200
committer matthew_swift <matthew_swift@localhost>
Wednesday, May 6, 2009 22:08 +0200
commit1050ea9c70d1028b93f3d0784de1b30dd8444226
tree 0930a3a99fa60118f7bb319d799ef199df699938 tree | zip | gz
parent 5f7c5309b0977f0149fa433390e3c800c6657476 view | diff
Fix issue 3962: Memory leaks after Bind <op> Unbind

* avoid creating ClientConnectionMonitorProviders for each new connection

* separate construction of ClientConnectionMonitorProviders and LDAPStatistics

* push registration of ClientConnectionMonitorProviders and LDAPStatistics in LDAPConnectionHandler initialization

* ensure that ClientConnectionMonitorProviders and LDAPStatistics are deregistered when the LDAPConnectionHandler is finalized.
4 files modified
242 ■■■■■ changed files
opends/src/server/org/opends/server/monitors/ClientConnectionMonitorProvider.java 164 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java 47 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPStatistics.java 26 ●●●● diff | view | raw | blame | history