title: AtomicLong possible race condition?
body: <p>I know that a possible race condition is Read-Modify-Write, an example:</p>
  
  <pre><code>public class UnsafeSequence {
       private int value;
       public int getNext(){
            value = value + 1;
            return value;
       }
  }
  </code></pre>
  
  <p>In my code I use AtomicLong:</p>
  
  <pre><code>public class Test {
        private AtomicLong size = new AtomicLong();
  
        public void test(Object myPersonalObject){
             //do something
  
             this.size.set(this.size.get() + myPersonalObject.getSize().get());
  
  
             //do something
        }
  }
  </code></pre>
  
  <p>the <code>myPersonalObject.getSize()</code> return an AtomicLong.</p>
  
  <p>The question is: this instructions <code>this.size.set(this.size.get() + myPersonalObject.getSize().get());</code> can generate a race condition?  </p>