Replies: 1 comment
-
下面是当时的记录 泄漏点1:netty的初始化逻辑放在agent attach的线程 解决办法
泄漏点2清理session的线程在Arthas 停止的过程中没有shutdown。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
注释上写的是: Use a dedicated thread to run the binding logic to prevent possible memory leak.
jvm在加载agent的时候 本身就是一个单独的线程来执行,按理来说agent加载完成之后,加载线程就会被销毁并且释放相关内存资源。
这里给bind动作又开了一个单独的线程,不是很能想明白什么场景下才会出现注释中说的可能的内存泄漏
Beta Was this translation helpful? Give feedback.
All reactions