Query module BusyWait

name
Busy wait
description
Calling ‘Thread.sleep’ to control thread interaction is less effective than waiting for a notification and may also result in race conditions. Merely synchronizing over shared variables in a loop to control thread interaction may waste system resources and cause performance problems.
kind
problem
problem.severity
warning
precision
low
id
java/busy-wait
tags
reliability correctness concurrency

Imports

java

Provides all default Java QL imports.

Predicates

Classes