Y
Hacker News
new
|
ask
|
show
|
jobs
by
layer8
1468 days ago
Java code actually consciously tolerates data races for performance reasons, the prototypical example being the implementation of String#hashCode() (racy single-check idiom).