mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] cleanup of inspection description updates InstanceGuardedByStatic
GitOrigin-RevId: 1f59a47a9dcfdb4cfe8b703796905b6ba3768b9e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
021ad165f8
commit
716b5117c6
@@ -1,9 +1,10 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports <b>@GuardedBy</b> annotations on instance fields or methods,
|
||||
where the guard is a <b>static</b> field. Guarding a non-static by a <b>static</b> may result in excessive lock contention,
|
||||
Reports <code>@GuardedBy</code> annotations on instance fields or methods,
|
||||
where the guard is a <code>static</code> field. Guarding a non-static by a <code>static</code> 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.
|
||||
Supported <b>@GuardedBy</b> annotations are:
|
||||
<!-- tooltip end -->
|
||||
Supported <code>@GuardedBy</code> annotations are:
|
||||
<ul>
|
||||
<li>net.jcip.annotations.GuardedBy</li>
|
||||
<li>javax.annotation.concurrent.GuardedBy</li>
|
||||
|
||||
Reference in New Issue
Block a user