Merge branch 'idea90' of git.labs.intellij.net:idea/community into idea90
[fedora-idea.git] / plugins / groovy / resources / inspectionDescriptions / GroovyWhileLoopSpinsOnField.html
blobc35e576ab459830d2969b323b777e184c395737d
1 <html>
2 <body><table> <tr> <td valign="top" height="150">
3 <font face="verdana" size="-1">
4 This inspection reports on any instances of Groovy <b><font color="#000080">while</font></b> loops which spin on the
5 value of a non-volatile field, waiting for it to be changed by another thread. In addition to being potentially
6 extremely CPU intensive when little work is done inside the loop, such
7 loops are likely have different semantics than intended, as the Java Memory Model allows such field accesses
8 to be hoisted out of the loop, causing the loop to never complete even if another thread does change the
9 field's value.
10 </font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectorGroovy </font> </td> </tr> </table> </body>
11 </html>