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

matthew_swift
06.08.2009 bee45a61482b784454ea880adb95e03d3b6fccb9
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
commitbee45a61482b784454ea880adb95e03d3b6fccb9
tree af8cce8afbb06b6c88ae7ea545f5aca892da9de7 tree | zip | gz
parent af81288eb7b1ea522dd60b17754b0d25aa07ae30 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
opendj-sdk/opends/src/server/org/opends/server/monitors/ClientConnectionMonitorProvider.java 164 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java 47 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPStatistics.java 26 ●●●● diff | view | raw | blame | history