AtomicInteger and lock cmpxchg