summaryrefslogtreecommitdiff
path: root/resources-en/src/inspectionDescriptions/InstanceGuardedByStatic.html
blob: 6e430dd35f270a0b743a8e70a2c40ba8b2723ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
<html>
<body>
               This inspection reports any @net.jcip.annotations.GuardedBy annotations on instance fields or methods,
                where
                the guard is a static field. Guarding a non-static by a static may result in excessive lock contention,
                as access to each locked field in any object instance will prevent simultaneous access to that field in
                every object
                instance.
           <br><small>New in 9</small>
</body>
</html>