Table of Contents

Concurrency - Starvation

About

Starvation is a forms of thread contention.

Starvation describes a situation where a thread is unable :

This happens when shared resources are made unavailable for long periods by “greedy” threads.

Example

Suppose:

If one thread invokes this method frequently, other threads that also need frequent synchronized access to the same object will often be blocked.

Documentation / Reference