尝试优雅地关闭tomcat时遇到问题。发出此严重警告,应用程序将挂起,直到终止。在这种情况下,似乎与 codahale 有关,这与其他几个类似的问题不同。有关修复的任何建议。提前致谢。
(通过 Intellij 使用 Tomcat 7.0.78)
created a ThreadLocal with key of type
[com.codahale.metrics.ThreadLocalRandom$1] (value
[com.codahale.metrics.ThreadLocalRandom$1@7008afaf]) and a value of
type [com.codahale.metrics.ThreadLocalRandom] (value
[com.codahale.metrics.ThreadLocalRandom@cb6fe27]) but failed to remove
it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.