Inspectopedia Help

Threading issues

Name

Language

'AtomicFieldUpdater' field not declared 'static final'  

Java

'ThreadLocal' field not declared 'static final'  

Java

'ThreadLocal.set()' with null as an argument  

Java

'ThreadLocalRandom' instance might be shared  

Java

'await()' not called in loop  

Java

'await()' without corresponding 'signal()'  

Java

'notify()' or 'notifyAll()' called on 'java.util.concurrent.locks.Condition' object  

Java

'notify()' or 'notifyAll()' without corresponding state change  

Java

'notify()' without corresponding 'wait()'  

Java

'signal()' without corresponding 'await()'  

Java

'synchronized' method  

Java

'wait()' called on 'java.util.concurrent.locks.Condition' object  

Java

'wait()' not called in loop  

Java

'wait()' or 'await()' without timeout  

Java

'wait()' or 'notify()' is not in synchronized context  

Java

'wait()' while holding two locks  

Java

'wait()' without corresponding 'notify()'  

Java

'while' loop spins on field  

Java

Access to 'static' field locked on instance data  

Java

Busy wait  

Java

Call to 'System.runFinalizersOnExit()'  

Java

Call to 'Thread.setPriority()'  

Java

Call to 'Thread.sleep()' while synchronized  

Java

Call to 'Thread.start()' during object construction  

Java

Call to 'Thread.stop()', 'suspend()' or 'resume()'  

Java

Call to 'Thread.yield()'  

Java

Call to 'notify()' instead of 'notifyAll()'  

Java

Call to 'signal()' instead of 'signalAll()'  

Java

Call to a 'native' method while locked  

Java

Class directly extends 'Thread'  

Java

Double-checked locking  

Java

Empty 'synchronized' statement  

Java

Field accessed in both 'synchronized' and unsynchronized contexts  

Java

Inconsistent 'AtomicFieldUpdater' declaration  

Java

Instantiating a 'Thread' with default 'run()' method  

Java

Lock acquired but not safely unlocked  

Java

Method with single 'synchronized' block can be replaced with 'synchronized' method  

Java

Nested 'synchronized' statement  

Java

Non-atomic operation on 'volatile' field  

Java

Non-private field accessed in 'synchronized' context  

Java

Non-thread-safe 'static' field access  

Java

Static initializer references subclass  

Java

Synchronization on 'getClass()'  

Java

Synchronization on 'static' field  

Java

Synchronization on 'this'  

Java

Synchronization on a 'Lock' object  

Java

Synchronization on a non-final field  

Java

Synchronization on an object initialized with a literal  

Java

Synchronization on local variable or method parameter  

Java

Unconditional 'wait()' call  

Java

Unsynchronized method overrides 'synchronized' method  

Java

Volatile array field  

Java

Last modified: 13 July 2023