com.puppycrawl.tools.checkstyle.checks.coding
Class DoubleCheckedLockingCheck
public
class
DoubleCheckedLockingCheck
extends Check
Detect the double-checked locking idiom, a technique that tries to avoid
synchronization overhead but is incorrect because of subtle artifacts of
the java memory model.
See
The "Double-Checked Locking is Broken" Declaration for a
more in depth explanation.
Author: Lars Kühne
public int[] getDefaultTokens()
{@inheritDoc}
{@inheritDoc}