Skip to content

缓存清理。在多个类加载器加载后,当前类加载器加载的cache不会被清理,会导致mataSpace增加 - #365

Open
lunasaw wants to merge 1 commit into
alibaba:branch_version_3.x.xfrom
lunasaw:cache_clean
Open

缓存清理。在多个类加载器加载后,当前类加载器加载的cache不会被清理,会导致mataSpace增加#365
lunasaw wants to merge 1 commit into
alibaba:branch_version_3.x.xfrom
lunasaw:cache_clean

Conversation

@lunasaw

@lunasaw lunasaw commented Dec 18, 2024

Copy link
Copy Markdown
Contributor

提供cleanUp方法,业务方可以清理缓存

@CLAassistant

CLAassistant commented Dec 18, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


chenzhangyue seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@lunasaw

lunasaw commented Dec 18, 2024

Copy link
Copy Markdown
Contributor Author

临时策略,清理几个大类下的map,真正的卸载还需要完整的移除关联引用信息
image

@DQinYuan

DQinYuan commented Jan 4, 2025

Copy link
Copy Markdown
Collaborator

cleanUp 的入口有点分散啊?你在应用中是打算怎么用,分别调用这么多类的 cleanUp?

看看入口是不是集中一下,或者在更换 classLoader 时做自动清理

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

Successfully merging this pull request may close these issues.

3 participants