Lines Matching +full:deadlock +full:- +full:detector
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
4 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
16 <tr><td><font size="-1"><a class="sidebar" href="findbugs2.html">FindBugs 2.0</a></font></td></tr>
17 <tr><td><font size="-1"><a class="sidebar" href="demo.html">Demo and data</a></font></td></tr>
18 <tr><td><font size="-1"><a class="sidebar" href="users.html">Users and supporters</a></font></td></…
19 <tr><td><font size="-1"><a class="sidebar" href="http://findbugs.blogspot.com/">FindBugs blog</a></…
20 <tr><td><font size="-1"><a class="sidebar" href="factSheet.html">Fact sheet</a></font></td></tr>
21 <tr><td><font size="-1"><a class="sidebar" href="manual/index.html">Manual</a></font></td></tr>
22 <tr><td><font size="-1"><a class="sidebar" href="ja/manual/index.html">Manual(ja/日本&#…
23 <tr><td><font size="-1"><a class="sidebar" href="FAQ.html">FAQ</a></font></td></tr>
24 <tr><td><font size="-1"><a class="sidebar" href="bugDescriptions.html">Bug descriptions</a></font><…
25 <tr><td><font size="-1"><a class="sidebar" href="mailingLists.html">Mailing lists</a></font></td></…
26 <tr><td><font size="-1"><a class="sidebar" href="publications.html">Documents and Publications</a><…
27 <tr><td><font size="-1"><a class="sidebar" href="links.html">Links</a></font></td></tr>
40 <tr><td><font size="-1"><a class="sidebar" href="http://sourceforge.net/tracker/?group_id=96405">Op…
41 <tr><td><font size="-1"><a class="sidebar" href="reportingBugs.html">Reporting bugs</a></font></td>…
42 <tr><td><font size="-1"><a class="sidebar" href="contributing.html">Contributing</a></font></td></t…
43 <tr><td><font size="-1"><a class="sidebar" href="team.html">Dev team</a></font></td></tr>
44 <tr><td><font size="-1"><a class="sidebar" href="api/index.html">API</a> <a class="sidebar" href="a…
45 <tr><td><font size="-1"><a class="sidebar" href="Changes.html">Change log</a></font></td></tr>
46 <tr><td><font size="-1"><a class="sidebar" href="http://sourceforge.net/projects/findbugs">SF proje…
47 <tr><td><font size="-1"><a class="sidebar" href="http://code.google.com/p/findbugs/source/browse/">…
48 <tr><td><font size="-1"><a class="sidebar" href="http://code.google.com/p/findbugs/source/list">Lat…
132 <tr bgcolor="#ffffff"><td><a href="#SE_BAD_FIELD">Se: Non-transient non-serializable instance field…
133 <tr bgcolor="#eeeeee"><td><a href="#SE_BAD_FIELD_INNER_CLASS">Se: Non-serializable class has a seri…
134 <tr bgcolor="#ffffff"><td><a href="#SE_BAD_FIELD_STORE">Se: Non-serializable value stored into inst…
158 …_BAD_SHIFT_AMOUNT">BSHIFT: 32 bit int shifted by an amount not in the range -31..31</a></td><td>Co…
214 <tr bgcolor="#ffffff"><td><a href="#IJU_SUITE_NOT_STATIC">IJU: TestCase implements a non-static sui…
241 <tr bgcolor="#eeeeee"><td><a href="#NP_NULL_PARAM_DEREF_NONVIRTUAL">NP: Non-virtual method call pas…
257 …TE_VALUE_OF_HASHCODE">RV: Bad attempt to compute absolute value of signed 32-bit hashcode </a></td…
271 <tr bgcolor="#eeeeee"><td><a href="#SIC_THREADLOCAL_DEADLY_EMBRACE">SIC: Deadly embrace of non-stat…
370 <tr bgcolor="#ffffff"><td><a href="#DM_FP_NUMBER_CTOR">Bx: Method invokes inefficient floating-poin…
383 <tr bgcolor="#eeeeee"><td><a href="#ITA_INEFFICIENT_TO_ARRAY">ITA: Method uses toArray() with zero-…
427 <tr bgcolor="#eeeeee"><td><a href="#VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN">FS: Non-Boolean arg…
448 …ef="#NS_DANGEROUS_NON_SHORT_CIRCUIT">NS: Potentially dangerous use of non-short-circuit logic</a><…
449 <tr bgcolor="#eeeeee"><td><a href="#NS_NON_SHORT_CIRCUIT">NS: Questionable use of non-short-circuit…
452 …#QF_QUESTIONABLE_FOR_LOOP">QF: Complicated, subtle or wrong increment in for-loop </a></td><td>Dod…
453 …NDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE">RCN: Redundant comparison of non-null value to null</a…
455 …ULLCHECK_OF_NONNULL_VALUE">RCN: Redundant nullcheck of value known to be non-null</a></td><td>Dodg…
462 <tr bgcolor="#ffffff"><td><a href="#RV_REM_OF_RANDOM_INT">RV: Remainder of 32-bit signed random int…
544 <p> This non-final class defines a clone() method that does not call super.clone().
649 dangerous methods in the Java libraries.</em> -- Joshua Bloch</p>
808 preferable better to use %n, which will produce the platform-specific line separator.
941 This code seems to be storing a non-serializable object into an HttpSession.
999 …alized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and ab…
1094 ----
1266 two threads going through the Swing component-based GUI -- it's a serious flaw that
1273 <h3><a name="SE_BAD_FIELD">Se: Non-transient non-serializable instance field in serializable class …
1276 <p> This Serializable class defines a non-primitive instance field which is neither transient,
1280 Objects of this class will not be deserialized correctly if a non-Serializable
1284 <h3><a name="SE_BAD_FIELD_INNER_CLASS">Se: Non-serializable class has a serializable inner class (S…
1287 <p> This Serializable class is an inner class of a non-serializable class.
1297 <h3><a name="SE_BAD_FIELD_STORE">Se: Non-serializable value stored into instance field of a seriali…
1300 <p> A non-serializable value is stored into a non-transient field
1599 <h3><a name="ICAST_BAD_SHIFT_AMOUNT">BSHIFT: 32 bit int shifted by an amount not in the range -31..…
1604 the range -31..31.
1633 So just return -1 rather than Integer.MIN_VALUE.
1773 …ing methods are not useful for it. In particular, because it acts as a fixed-sized pool using core…
1845 non-abstract subclasses implement the interface.
1863 and there are no known non-abstract classes which implement both interfaces.
2059 that the code is supplying a MessageFormat string when a printf-style format string
2069 A format-string method with a variable number of arguments is called,
2141 <p> A method, field or class declares a generic signature where a non-hashable class
2162 This code converts a 32-bit int value to a 64-bit long value, and then
2171 <p>The multiplication is done using 32-bit arithmetic, and then converted to a 64-bit value.
2172 When a 32-bit value is converted to 64-bits and used to express an absolute time
2194 the next higher integer value. This operation should always be a no-op,
2210 to the argument. This operation should always be a no-op,
2253 <h3><a name="IJU_SUITE_NOT_STATIC">IJU: TestCase implements a non-static suite method (IJU_SUITE_N…
2311 <p> This code compares a value that is guaranteed to be non-negative with a negative constant.
2318 <p> Signed bytes can only have a value in the range -128 to 127. Comparing
2513 A possibly-null value is passed at a call site where all known
2521 <h3><a name="NP_NULL_PARAM_DEREF_NONVIRTUAL">NP: Non-virtual method call passes null for nonnull pa…
2525 A possibly-null value is passed to a nonnull method parameter.
2541 …<p> The program is dereferencing a field that does not seem to ever have a non-null value written …
2602 ----
2696 <h3><a name="RV_ABSOLUTE_VALUE_OF_HASHCODE">RV: Bad attempt to compute absolute value of signed 32-…
2723 such as 1 or -1. When invoking these methods, you should only check the sign of the result, not for…
2724 non-zero value. While many or most compareTo and compare methods only return -1, 0 or 1, some of th…
2808 reference to the same field (e.g., x&x or x-x). Because of the nature
2842 reference to the same variable (e.g., x&x or x-x). Because of the nature
2866 <h3><a name="SIC_THREADLOCAL_DEADLY_EMBRACE">SIC: Deadly embrace of non-static inner class and thre…
3045 …This is the only way to turn a non-annotated value into a value with a strict type qualifier annot…
3171 the old behavior - when changing logger configuration, it simply drops the
3228 the false-positive suppression heuristics for this
3234 See Weimer and Necula, <i>Finding and Preventing Run-Time Error Handling Mistakes</i>, for
3271 the false-positive suppression heuristics for this
3277 See Weimer and Necula, <i>Finding and Preventing Run-Time Error Handling Mistakes</i>, for
3474 <p> This method may contain an instance of double-checked locking.
3497 and possible deadlock</p>
3498 …ecoding.cert.org/confluence/display/java/CON08-J.+Do+not+synchronize+on+objects+that+may+be+reused…
3515 and possible deadlock</p>
3516 …ecoding.cert.org/confluence/display/java/CON08-J.+Do+not+synchronize+on+objects+that+may+be+reused…
3531 …deadlock behavior. See <a href="http://www.javalobby.org/java/forums/t96352.html">http://www.javal…
3533 …ecoding.cert.org/confluence/display/java/CON08-J.+Do+not+synchronize+on+objects+that+may+be+reused…
3557 throughout the JVM, leading to very confusing behavior and potential deadlock.
3598 to synchronization. This bug report indicates that the bug pattern detector
3610 one of the methods in a class that is intended to be thread-safe.</p>
3613 code locations where the detector believed that a field was accessed
3616 <p> Note that there are various sources of inaccuracy in this detector;
3617 for example, the detector cannot statically detect all situations in which
3618 a lock is held. Also, even when the detector is accurate in
3675 <p> This method contains an unsynchronized lazy initialization of a non-volatile static field.
3845 The detector has found a call to an instance of Calendar that has been obtained via a static
3855 The detector has found a call to an instance of DateFormat that has been obtained via a static
3891 in very poor performance and scalability, or a deadlock, since other threads may
3902 deadlock.
3914 <p> This class contains similarly-named get and set
3924 <p> This method acquires a JSR-166 (<code>java.util.concurrent</code>) lock,
3926 for using a JSR-166 lock is:
3942 <p> This method acquires a JSR-166 (<code>java.util.concurrent</code>) lock,
3944 for using a JSR-166 lock is:
3982 are non-volatile. To get volatile array elements, you will need to use
4114 <h3><a name="DM_FP_NUMBER_CTOR">Bx: Method invokes inefficient floating-point Number constructor; u…
4137 Values between -128 and 127 are guaranteed to have corresponding cached instances
4153 …com/2006/11/javaneturlequals-and-hashcode-make.html">http://michaelscharf.blogspot.com/2006/11/jav…
4163 …com/2006/11/javaneturlequals-and-hashcode-make.html">http://michaelscharf.blogspot.com/2006/11/jav…
4199 …e>java.util.Random</code>, you can generate a random number from <code>0</code> to <code>n-1</code>
4203 value from -99 to 0, use <code>-r.nextInt(100)</code>.
4227 no-argument constructor wastes memory because the object so created will
4258 <h3><a name="ITA_INEFFICIENT_TO_ARRAY">ITA: Method uses toArray() with zero-length array argument (…
4262 in a zero-length prototype array argument. It is more efficient to use
4341 is initialized to a compile-time static value.
4357 <td>abs</td> <td>-any-</td>
4375 <td>ceil</td> <td>-any-</td>
4390 <td>floor</td> <td>-any-</td>
4399 <td>rint</td> <td>-any-</td>
4402 <td>round</td> <td>-any-</td>
4484 consider using a commercial static analysis or pen-testing tool.
4498 consider using a commercial static analysis or pen-testing tool.
4514 consider using a commercial static analysis or pen-testing tool.
4529 consider using a commercial static analysis or pen-testing tool.
4557 …y. See <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">http://en.wikipedia.org/wiki/Cr…
4562 consider using a commercial static analysis or pen-testing tool.
4571 …y. See <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">http://en.wikipedia.org/wiki/Cr…
4576 consider using a commercial static analysis or pen-testing tool.
4585 …y. See <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">http://en.wikipedia.org/wiki/Cr…
4590 consider using a commercial static analysis or pen-testing tool.
4715 final local variables. Because FindBugs is a bytecode-based tool,
4762 This code seems to be passing a non-serializable object to the ObjectOutput.writeObject method.
4763 If the object is, indeed, non-serializable, an error will result.
4822 consider using a fixed-precision type such as BigDecimal.
4825 <code>if ( Math.abs(x - y) < .0000001 )</code>.
4830 <h3><a name="VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN">FS: Non-Boolean argument formatted using %…
4932 <a href="http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html">wide…
4942 for negative numbers (e.g., (-5) % 2 == -1). If this code is intending to check
5073 field that does not seem to ever have a non-null value written to it.
5079 <h3><a name="NS_DANGEROUS_NON_SHORT_CIRCUIT">NS: Potentially dangerous use of non-short-circuit log…
5082 <p> This code seems to be using non-short-circuit logic (e.g., &
5084 rather than short-circuit logic (&& or ||). In addition,
5089 Non-short-circuit logic causes both sides of the expression
5091 knowing the left-hand side. This can be less efficient and
5092 can result in errors if the left-hand side guards cases
5093 when evaluating the right-hand side can generate an error.
5102 <h3><a name="NS_NON_SHORT_CIRCUIT">NS: Questionable use of non-short-circuit logic (NS_NON_SHORT_CI…
5105 <p> This code seems to be using non-short-circuit logic (e.g., &
5107 rather than short-circuit logic (&& or ||).
5108 Non-short-circuit logic causes both sides of the expression
5110 knowing the left-hand side. This can be less efficient and
5111 can result in errors if the left-hand side guards cases
5112 when evaluating the right-hand side can generate an error.
5147 <h3><a name="QF_QUESTIONABLE_FOR_LOOP">QF: Complicated, subtle or wrong increment in for-loop (QF_…
5156 <h3><a name="RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE">RCN: Redundant comparison of non-n…
5159 <p> This method contains a reference known to be non-null with another reference
5170 …ULLCHECK_OF_NONNULL_VALUE">RCN: Redundant nullcheck of value known to be non-null (RCN_REDUNDANT_N…
5173 <p> This method contains a redundant check of a known non-null value against
5188 This method uses a try-catch block that catches Exception objects, but Exception is not
5195 …or to explicitly catch RuntimeException exception, rethrow it, and then catch all non-Runtime Exce…
5202 ... deal with all non-runtime exceptions ...
5221 … <p> The method invokes String.indexOf and checks to see if the result is positive or non-positive.
5222 It is much more typical to check to see if the result is negative or non-negative. It is
5231 value is non-null. In almost all situations, if the result is non-null, you will want
5232 to use that non-null value. Calling readLine again will give you a different line.</p>
5246 using <code>x.hashCode()%n</code>, use <code>x.hashCode()&(n-1)</code>.
5254 <h3><a name="RV_REM_OF_RANDOM_INT">RV: Remainder of 32-bit signed random integer (RV_REM_OF_RANDOM_…
5492 <!---//hide script from old browsers
5494 //end hiding contents --->