Skip to content

[Item 81] Race condition in Intern.java #20

Description

@drnow4u

Dear Joshua,

In example class Intern and method intern is race condition between line 18 and 19. It can also lead to memory leak.

Kindly regards,
Marcin

PS
Thank you for your book. I'm continuously learning new things from it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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