Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastJson序列化导致线程数上涨,metaspace使用率上涨,ASMClassLoader动态生成类持有锁,会导致线程阻塞?全局只有一个config为什么会元空间上涨? #4489

Open
ZJD821 opened this issue Mar 21, 2024 · 0 comments

Comments

@ZJD821
Copy link

ZJD821 commented Mar 21, 2024

问题现象:单机线程数上涨、元空间使用率上涨
大量线程被block,ASMClassLoader动态生成实例化类时持有类加载器锁,导致其他线程都在获取同一个ASMClassLoader的实例,线程阻塞,导致上涨,但是全局只有一个config,为什么导致元空间上涨呢
image
image

@ZJD821 ZJD821 changed the title FastJson序列化导致线程数上涨,metaspace使用率上涨,ASMClassLoader动态生成类持有锁,会导致线程阻塞?全局只有一个config为什么会上涨? FastJson序列化导致线程数上涨,metaspace使用率上涨,ASMClassLoader动态生成类持有锁,会导致线程阻塞?全局只有一个config为什么会元空间上涨? Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant