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

Added details about singleton,and double-checked locking #908

Open
Vince-V opened this issue Oct 28, 2020 · 1 comment
Open

Added details about singleton,and double-checked locking #908

Vince-V opened this issue Oct 28, 2020 · 1 comment

Comments

@Vince-V
Copy link

Vince-V commented Oct 28, 2020

Expected behavior and actual behavior

Expected behavior:

  • Improvement to show more details about the singleton, including hashcode
  • performs double-checked locking

Actual behavior:

  • Prints a string twice in a row.
Steps to reproduce the problem
  • execute main method
  • view console output
@welcome
Copy link

welcome bot commented Oct 28, 2020

Thanks for helping us improve and opening your first issue here! Someone will address it right away!
While you're waiting, I just wanted to make sure you've had a chance to look at our Readme and Contributing Guidelines.

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