title: Does parking a JAVA thread cause any acquired monitors to be released
body: <p>When thread execution is suspended by parking a thread, does it cause the thread to relinquish ownership of any acquired object monitors? </p>
  
  <p>Put simply, can the following code deadlock if a thread (t1) acquires the monitor for the 'this' object and is parked while another thread (t2) that tries to unpark t1 by first trying to acquire the monitor of 'this' and blocking.</p>
  
  <pre class="lang-java prettyprint-override"><code>// Thread t1 executes this code first.
  syncronized(this) {
      LockSupport.park();
  }
  
  // Thread t2 then executes this piece of code.
  synchronized(this) {
      LockSupport.unpark(t1);
  }
  </code></pre>