title: When to use Volatile modifier?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3488703/when-exactly-do-you-use-the-volatile-keyword-in-java">When exactly do you use the volatile keyword in Java?</a>  </p>
  </blockquote>
  
  
  
  <p>When and why volatile modifier is required in java? </p>
  
  <p>I am interested in seeing a real world usage of a volatile modified primitive or object reference.</p>