summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleCheckedLocking.html
blob: efa4d7a0ec34148e67666cc40bba15e8106784df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<body>
Reports the double-checked locking construct. For a
discussion of double-checked locking and why it is unsafe, see
<a href = "http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
">http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html</a>
<!-- tooltip end -->
<p>
Use the checkbox below to ignore double-checked locking on volatile fields. Using
a volatile field for double-checked locking works correctly on virtual machines which
implement the new Java Memory Model.
<p>

</body>
</html>