Skip to content

Conversation

@huangshangi
Copy link
Owner

单例模式实例修改,在单例方法上声明synchronized关键字是不必要的且会造成性能上的开销

单例模式实例修改,在单例方法上声明synchronized关键字是不必要的且会造成性能上的开销
@huangshangi huangshangi merged commit 4ce02b6 into master Jun 16, 2020
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.

2 participants