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…
127 <tr bgcolor="#ffffff"><td><a href="#SE_BAD_FIELD">Se: Non-transient non-serializable instance field…
128 <tr bgcolor="#eeeeee"><td><a href="#SE_BAD_FIELD_INNER_CLASS">Se: Non-serializable class has a seri…
129 <tr bgcolor="#ffffff"><td><a href="#SE_BAD_FIELD_STORE">Se: Non-serializable value stored into inst…
152 …_BAD_SHIFT_AMOUNT">BSHIFT: 32 bit int shifted by an amount not in the range -31..31</a></td><td>Co…
205 <tr bgcolor="#ffffff"><td><a href="#IJU_SUITE_NOT_STATIC">IJU: TestCase implements a non-static sui…
232 <tr bgcolor="#eeeeee"><td><a href="#NP_NULL_PARAM_DEREF_NONVIRTUAL">NP: Non-virtual method call pas…
248 …TE_VALUE_OF_HASHCODE">RV: Bad attempt to compute absolute value of signed 32-bit hashcode </a></td…
262 <tr bgcolor="#eeeeee"><td><a href="#SIC_THREADLOCAL_DEADLY_EMBRACE">SIC: Deadly embrace of non-stat…
355 <tr bgcolor="#ffffff"><td><a href="#DM_FP_NUMBER_CTOR">Bx: Method invokes inefficient floating-poin…
367 <tr bgcolor="#ffffff"><td><a href="#ITA_INEFFICIENT_TO_ARRAY">ITA: Method uses toArray() with zero-…
409 <tr bgcolor="#ffffff"><td><a href="#VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN">FS: Non-Boolean arg…
430 …ef="#NS_DANGEROUS_NON_SHORT_CIRCUIT">NS: Potentially dangerous use of non-short-circuit logic</a><…
431 <tr bgcolor="#ffffff"><td><a href="#NS_NON_SHORT_CIRCUIT">NS: Questionable use of non-short-circuit…
433 …#QF_QUESTIONABLE_FOR_LOOP">QF: Complicated, subtle or wrong increment in for-loop </a></td><td>Dod…
434 …NDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE">RCN: Redundant comparison of non-null value to null</a…
436 …ULLCHECK_OF_NONNULL_VALUE">RCN: Redundant nullcheck of value known to be non-null</a></td><td>Dodg…
443 <tr bgcolor="#ffffff"><td><a href="#RV_REM_OF_RANDOM_INT">RV: Remainder of 32-bit signed random int…
501 <p> This non-final class defines a clone() method that does not call super.clone().
606 dangerous methods in the Java libraries.</em> -- Joshua Bloch</p>
765 preferable better to use %n, which will produce the platform-specific line separator.
898 This code seems to be storing a non-serializable object into an HttpSession.
956 …alized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and ab…
1051 ----
1223 two threads going through the Swing component-based GUI -- it's a serious flaw that
1230 <h3><a name="SE_BAD_FIELD">Se: Non-transient non-serializable instance field in serializable class …
1233 <p> This Serializable class defines a non-primitive instance field which is neither transient,
1237 Objects of this class will not be deserialized correctly if a non-Serializable
1241 <h3><a name="SE_BAD_FIELD_INNER_CLASS">Se: Non-serializable class has a serializable inner class (S…
1244 <p> This Serializable class is an inner class of a non-serializable class.
1254 <h3><a name="SE_BAD_FIELD_STORE">Se: Non-serializable value stored into instance field of a seriali…
1257 <p> A non-serializable value is stored into a non-transient field
1546 <h3><a name="ICAST_BAD_SHIFT_AMOUNT">BSHIFT: 32 bit int shifted by an amount not in the range -31..…
1551 the range -31..31.
1580 So just return -1 rather than Integer.MIN_VALUE.
1720 …ing methods are not useful for it. In particular, because it acts as a fixed-sized pool using core…
1792 non-abstract subclasses implement the interface.
1810 and there are no known non-abstract classes which implement both interfaces.
1983 that the code is supplying a MessageFormat string when a printf-style format string
1993 A format-string method with a variable number of arguments is called,
2065 <p> A method, field or class declares a generic signature where a non-hashable class
2086 This code converts a 32-bit int value to a 64-bit long value, and then
2095 <p>The multiplication is done using 32-bit arithmetic, and then converted to a 64-bit value.
2096 When a 32-bit value is converted to 64-bits and used to express an absolute time
2118 the next higher integer value. This operation should always be a no-op,
2134 to the argument. This operation should always be a no-op,
2177 <h3><a name="IJU_SUITE_NOT_STATIC">IJU: TestCase implements a non-static suite method (IJU_SUITE_N…
2235 <p> This code compares a value that is guaranteed to be non-negative with a negative constant.
2242 <p> Signed bytes can only have a value in the range -128 to 127. Comparing
2437 A possibly-null value is passed at a call site where all known
2445 <h3><a name="NP_NULL_PARAM_DEREF_NONVIRTUAL">NP: Non-virtual method call passes null for nonnull pa…
2449 A possibly-null value is passed to a nonnull method parameter.
2465 …<p> The program is dereferencing a field that does not seem to ever have a non-null value written …
2526 ----
2620 <h3><a name="RV_ABSOLUTE_VALUE_OF_HASHCODE">RV: Bad attempt to compute absolute value of signed 32-…
2647 such as 1 or -1. When invoking these methods, you should only check the sign of the result, not for…
2648 non-zero value. While many or most compareTo and compare methods only return -1, 0 or 1, some of th…
2732 reference to the same field (e.g., x&x or x-x). Because of the nature
2766 reference to the same variable (e.g., x&x or x-x). Because of the nature
2790 <h3><a name="SIC_THREADLOCAL_DEADLY_EMBRACE">SIC: Deadly embrace of non-static inner class and thre…
2969 …This is the only way to turn a non-annotated value into a value with a strict type qualifier annot…
3086 the old behavior - when changing logger configuration, it simply drops the
3143 the false-positive suppression heuristics for this
3149 See Weimer and Necula, <i>Finding and Preventing Run-Time Error Handling Mistakes</i>, for
3186 the false-positive suppression heuristics for this
3192 See Weimer and Necula, <i>Finding and Preventing Run-Time Error Handling Mistakes</i>, for
3382 <p> This method may contain an instance of double-checked locking.
3405 and possible deadlock</p>
3406 …ecoding.cert.org/confluence/display/java/CON08-J.+Do+not+synchronize+on+objects+that+may+be+reused…
3423 and possible deadlock</p>
3424 …ecoding.cert.org/confluence/display/java/CON08-J.+Do+not+synchronize+on+objects+that+may+be+reused…
3439 …deadlock behavior. See <a href="http://www.javalobby.org/java/forums/t96352.html">http://www.javal…
3441 …ecoding.cert.org/confluence/display/java/CON08-J.+Do+not+synchronize+on+objects+that+may+be+reused…
3465 throughout the JVM, leading to very confusing behavior and potential deadlock.
3506 to synchronization. This bug report indicates that the bug pattern detector
3518 one of the methods in a class that is intended to be thread-safe.</p>
3521 code locations where the detector believed that a field was accessed
3524 <p> Note that there are various sources of inaccuracy in this detector;
3525 for example, the detector cannot statically detect all situations in which
3526 a lock is held. Also, even when the detector is accurate in
3583 <p> This method contains an unsynchronized lazy initialization of a non-volatile static field.
3753 The detector has found a call to an instance of Calendar that has been obtained via a static
3763 The detector has found a call to an instance of DateFormat that has been obtained via a static
3799 in very poor performance and scalability, or a deadlock, since other threads may
3810 deadlock.
3822 <p> This class contains similarly-named get and set
3832 <p> This method acquires a JSR-166 (<code>java.util.concurrent</code>) lock,
3834 for using a JSR-166 lock is:
3850 <p> This method acquires a JSR-166 (<code>java.util.concurrent</code>) lock,
3852 for using a JSR-166 lock is:
3890 are non-volatile. To get volatile array elements, you will need to use
3998 <h3><a name="DM_FP_NUMBER_CTOR">Bx: Method invokes inefficient floating-point Number constructor; u…
4021 Values between -128 and 127 are guaranteed to have corresponding cached instances
4037 …com/2006/11/javaneturlequals-and-hashcode-make.html">http://michaelscharf.blogspot.com/2006/11/jav…
4047 …com/2006/11/javaneturlequals-and-hashcode-make.html">http://michaelscharf.blogspot.com/2006/11/jav…
4083 …e>java.util.Random</code>, you can generate a random number from <code>0</code> to <code>n-1</code>
4087 value from -99 to 0, use <code>-r.nextInt(100)</code>.
4111 no-argument constructor wastes memory because the object so created will
4131 <h3><a name="ITA_INEFFICIENT_TO_ARRAY">ITA: Method uses toArray() with zero-length array argument (…
4135 in a zero-length prototype array argument. It is more efficient to use
4214 is initialized to a compile-time static value.
4230 <td>abs</td> <td>-any-</td>
4248 <td>ceil</td> <td>-any-</td>
4263 <td>floor</td> <td>-any-</td>
4272 <td>rint</td> <td>-any-</td>
4275 <td>round</td> <td>-any-</td>
4357 consider using a commercial static analysis or pen-testing tool.
4371 consider using a commercial static analysis or pen-testing tool.
4387 consider using a commercial static analysis or pen-testing tool.
4402 consider using a commercial static analysis or pen-testing tool.
4430 …y. See <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">http://en.wikipedia.org/wiki/Cr…
4435 consider using a commercial static analysis or pen-testing tool.
4444 …y. See <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">http://en.wikipedia.org/wiki/Cr…
4449 consider using a commercial static analysis or pen-testing tool.
4458 …y. See <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">http://en.wikipedia.org/wiki/Cr…
4463 consider using a commercial static analysis or pen-testing tool.
4578 final local variables. Because FindBugs is a bytecode-based tool,
4625 This code seems to be passing a non-serializable object to the ObjectOutput.writeObject method.
4626 If the object is, indeed, non-serializable, an error will result.
4677 consider using a fixed-precision type such as BigDecimal.
4680 <code>if ( Math.abs(x - y) < .0000001 )</code>.
4685 <h3><a name="VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN">FS: Non-Boolean argument formatted using %…
4787 <a href="http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html">wide…
4797 for negative numbers (e.g., (-5) % 2 == -1). If this code is intending to check
4928 field that does not seem to ever have a non-null value written to it.
4934 <h3><a name="NS_DANGEROUS_NON_SHORT_CIRCUIT">NS: Potentially dangerous use of non-short-circuit log…
4937 <p> This code seems to be using non-short-circuit logic (e.g., &
4939 rather than short-circuit logic (&& or ||). In addition,
4944 Non-short-circuit logic causes both sides of the expression
4946 knowing the left-hand side. This can be less efficient and
4947 can result in errors if the left-hand side guards cases
4948 when evaluating the right-hand side can generate an error.
4957 <h3><a name="NS_NON_SHORT_CIRCUIT">NS: Questionable use of non-short-circuit logic (NS_NON_SHORT_CI…
4960 <p> This code seems to be using non-short-circuit logic (e.g., &
4962 rather than short-circuit logic (&& or ||).
4963 Non-short-circuit logic causes both sides of the expression
4965 knowing the left-hand side. This can be less efficient and
4966 can result in errors if the left-hand side guards cases
4967 when evaluating the right-hand side can generate an error.
4990 <h3><a name="QF_QUESTIONABLE_FOR_LOOP">QF: Complicated, subtle or wrong increment in for-loop (QF_…
4999 <h3><a name="RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE">RCN: Redundant comparison of non-n…
5002 <p> This method contains a reference known to be non-null with another reference
5013 …ULLCHECK_OF_NONNULL_VALUE">RCN: Redundant nullcheck of value known to be non-null (RCN_REDUNDANT_N…
5016 <p> This method contains a redundant check of a known non-null value against
5031 This method uses a try-catch block that catches Exception objects, but Exception is not
5038 …or to explicitly catch RuntimeException exception, rethrow it, and then catch all non-Runtime Exce…
5045 ... deal with all non-runtime exceptions ...
5064 … <p> The method invokes String.indexOf and checks to see if the result is positive or non-positive.
5065 It is much more typical to check to see if the result is negative or non-negative. It is
5074 value is non-null. In almost all situations, if the result is non-null, you will want
5075 to use that non-null value. Calling readLine again will give you a different line.</p>
5089 using <code>x.hashCode()%n</code>, use <code>x.hashCode()&(n-1)</code>.
5097 <h3><a name="RV_REM_OF_RANDOM_INT">RV: Remainder of 32-bit signed random integer (RV_REM_OF_RANDOM_…
5317 <!---//hide script from old browsers
5319 //end hiding contents --->