Skip to content

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

@Vince-V

Description

@Vince-V
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions