How to detect a critical region in Java?
<p>I wanted to ask how do I detect a critical region in Java? I understand that it's to implement mutual exclusion with two atomic processes but what are the general things I just look for to determine that this is a critical region.</p>

<p>I'm very curious to know whether:</p>

<ul>
<li><p>all synchronized methods in Java critical regions?</p></li>
<li><p>are critical regions only found in concurrent systems in Java?</p></li>
</ul>