>>574
それはそうだけど、synchronized は重い。 atomic の方が軽い。
パフォーマンスを気にしないなら、たしかに atomic も volatile も不要。 synchronized だけ使ってればいい。