Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • …assuming that “second thread is created strictly after” truly implies an ordering according to the Java Memory Model, e.g. if the first thread calls start() after the map is fully initialized. To name a counter-example, relying on Thread.sleep to assume an order by timing would be incorrect. Commented Jan 19, 2018 at 7:49