I was trying to cut thread contention in my code by replacing some synchronized blocks with AtomicBoolean.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a