Hacker News new | ask | show | jobs
by dtech 1296 days ago
Do you have a good resource or summary on why volatile / synchronized are problematic and java.util.concurrent should be preferred?

I always remembered the same, but was recently in a conversation with Java devs who contradicted it, and could not articulate well why this is the case. and could not find good resources on it.

1 comments

Not off the top of my head. Just experience that they're easily used wrong.