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

feat:将遇到无法解析的类符号的场景也纳入缓存管理,避免重复加载类。可在一定程度降低线程block的概率。 #522

Merged
merged 2 commits into from
May 15, 2023

Conversation

jiudc
Copy link
Contributor

@jiudc jiudc commented Mar 4, 2023

对应issue521

Copy link
Owner

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢贡献,提了点建议

if (clazz != null) {
put2cache(name,NullClass.class);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该是 put2cache(name, clazz) ?

@killme2008 killme2008 merged commit 392bf59 into killme2008:master May 15, 2023
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.

None yet

2 participants