Scope of the Scheduler

The scheduler does not control everything. It is surrounded and filled with nonschedulable entities: interrupt service routines, tasks that aren't scheduled by the deadline scheduler, DMA, and other overhead. The hardware issues identified in Chapter 3 are only a few of the nonschedulable entities a deadline scheduler might have to live with.

A deadline scheduler has to tolerate nonschedulable entities. Deadline scheduling practitioners struggle to bring every activity under the control of the scheduler, then they leave slack in their time budget to accommodate the worst damage they expect.

In the context of the Java platform the garbage collector is a major nonschedulable entity. A programmer can bring it under control ...

Get Real-Time Java™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.