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

boli
21.16.2009 f8beabcaa885bfef30f2bd4011d040186cf9ea78
refs
author boli <boli@localhost>
Tuesday, April 21, 2009 21:16 +0200
committer boli <boli@localhost>
Tuesday, April 21, 2009 21:16 +0200
commitf8beabcaa885bfef30f2bd4011d040186cf9ea78
tree f8529d7afbeb4a8e55f04f05849ca9e6f5d88693 tree | zip | gz
parent 3a391aa6522c307f73f98f607aa6ff8299d5cbee view | diff
Fix for issue 3011: 

Created custom DirectoryThreadGroup class that all DirectoryThreads will be a member of. All unhandled exceptions from DirectoryThreads will be handled by the handler in DirectoryThreadGroup. This keeps OpenDS from having to install a JVM wide uncaughtException handler.

Changed the configuration object reference a member variable in EntryCacheMonitorProvider instead of a static. This lets GC collected all ConfigEntry and other related objects after OpenDS is shutdown.
7 files modified
216 ■■■■ changed files
opends/src/server/org/opends/server/api/DirectoryThread.java 119 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 57 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ServerShutdownMonitor.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/SoftReferenceEntryCache.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/loggers/debug/DebugAspect.java 14 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/monitors/EntryCacheMonitorProvider.java 6 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tasks/RestartTaskThread.java 5 ●●●●● diff | view | raw | blame | history