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

boli
21.16.2009 f6dbdd26a7e9f8ff4aa02c48d1348c163b8cb9fb
refs
author boli <boli@localhost>
Tuesday, April 21, 2009 21:16 +0200
committer boli <boli@localhost>
Tuesday, April 21, 2009 21:16 +0200
commitf6dbdd26a7e9f8ff4aa02c48d1348c163b8cb9fb
tree d3e4228c6bc19c11d0b389042b6e78cbb8624b19 tree | zip | gz
parent 3a5eecd8d634c0aa9f0003107e16c384457b5838 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
opendj-sdk/opends/src/server/org/opends/server/api/DirectoryThread.java 119 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/DirectoryServer.java 57 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/ServerShutdownMonitor.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/SoftReferenceEntryCache.java 6 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/loggers/debug/DebugAspect.java 14 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/monitors/EntryCacheMonitorProvider.java 6 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tasks/RestartTaskThread.java 5 ●●●●● diff | view | raw | blame | history