title: synchronized statements with "break"
body: <p>I have used synchronized statements in my codec and there is a "break" in the block:</p>
  
  <pre><code>for (int j = 0; j &lt; testPathSize; j++) {
  
    synchronized (lock) {
      if (kpis.get(j).getDate() &gt; startTimeInMs) {
  
        if (j &gt; 0) {
          if ((kpis.get(j).getDate() - startTimeInMs)
              &gt; (startTimeInMs - kpis.get(j - 1).getDate())) initTestPath = j - 1;
          else initTestPath = j;
        } else initTestPath = j;
  
        break;
      }
    }
  }
  </code></pre>
  
  <p>I want to know when break is executed, the "lock" will be released?</p>
  
  <p>Thanks.</p>