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

请教yupi大哥,用户注册synchronized (userAccount.intern())代码块 #17

Open
yanxiaofong opened this issue Dec 15, 2022 · 0 comments

Comments

@yanxiaofong
Copy link

求各位大佬指教,当注册用户量很多时,将所有字符串都放入常量池是不是不合理的,常量池大小依赖服务器内存,且只有等待fullGC,极端情况下会导致频繁fullGC,是否会存在性能问题?

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