starvation

When one kind of work keeps getting the processor so other work, such as rendering, never gets a turn.

In more detail

The page looks frozen even though code is running. Microtasks that keep scheduling more microtasks starve rendering, because the queue must be empty before the browser can paint.

Related terms

Taught in

References