What statement is true about thread starvation?
A.
Thread “A” is said to be starved when it is frequently unable to gain access to a resource that it shares with another thread.
B.
Thread “A” is said to be starved when it is blocked waiting for Thread “13,” which in turn waiting for Thread “A.”
C.
Starvation can occur when threads become so busy responding to other threads that they move forward with their other work.
D.
When some of the processors in a multi-processor environment go offline and the live thread(s) blocked waiting for CPU cycles, that blocking is referred to as “thread starvation.”
Explanation:
Starvation describes a situation where a thread is unable to gain regular access to shared resources and is unable to make progress. This happens when shared resources are made unavailable for long periods by “greedy” threads. For example, suppose an object provides a synchronized method that often takes a long time to return. If one thread invokes this methodfrequently, other threads that also need frequent synchronized access to the same object will often be blocked.
Reference: The Java Tutorials,Starvation and Livelock