title: What is StampedLock in Java?
body: <p>I am working on a Java code, I need to implement threading in it. I was going through JAVA 8 API and I come to know about Stamped Locks. Can anyone tell me why to use StampedLocks in multithreading? </p>
  
  <p>Thanks in advance.</p>