1 Reply Latest reply on Oct 20, 2002 12:05 PM by juha

    org.apache.log4j.NDC keeps references to old threads

    Fredrik Bertilsson Newbie

      I have been performance-testing JBoss (3.0.2, JDK 1.4, Windows 2000 Server) and discovered (by OptimizeIt) that a static member of org.apache.log4j.NDC-class keeps references to all old threads in a Hashtable. Every time a client makes a call to JBoss a new Thread is created and because of NDC keeps a reference to it, it will never be garbage collected. Is it anyone that have any idea about if this a normal behaviour or what is causing this??