摘要: 频繁调用ConcurrentLinkedQueue类的offer和remove方法会内存泄露 看一下ConcurrentLinkedQueue类的remove方法 public class ConcurrentLinkedQueue<E> extends AbstractQueue<E> imple 阅读全文
posted @ 2020-12-28 15:46 zendwang 阅读(737) 评论(0) 推荐(0) 编辑
摘要: Arthas 查CPU利用率高的5个线程 thread -n 5 查看类对象的属性 watch org.springframework.util.MimeTypeUtils$ConcurrentLruCache get 'target' -x 2 jmap dump 堆内存快照 jmap -dump 阅读全文
posted @ 2020-12-28 11:11 zendwang 阅读(148) 评论(0) 推荐(0) 编辑