title: is java.util.UUID thread safe?
body: <p>I am asking this question because of following observations</p>
  
  <ol>
  <li><p>getting this stack trace in thread dump in highly multi threaded environment</p>
  
   <pre class="lang-none prettyprint-override"><code>"http-80-200" daemon prio=10 tid=0x00002aaab4981000 nid=0x7520 waiting \
   for monitor entry [0x000000004fec7000]
     java.lang.Thread.State: BLOCKED (on object monitor)
      at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
      - waiting to lock &lt;0x00000000c00da220&gt; (a java.security.SecureRandom)
      at java.util.UUID.randomUUID(UUID.java:162)
  </code></pre></li>
  <li><p>found this link </p>
  
  <p><a href="http://bugs.sun.com/view_bug.do?bug_id=6611830">http://bugs.sun.com/view_bug.do?bug_id=6611830</a></p></li>
  </ol>
  
  <p>if UUID is not thread safe, please suggest any other library if it exist.</p>