02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6<br />

Browser<br />

Figure 6-23<br />

Fragmented Memory as Seen in the Browser<br />

6<br />

6.12.4 Priority Inversion<br />

The browser’s displays are most useful when they complement each other. For<br />

example, suppose you notice in the main browser window (as in Figure 6-24) that<br />

a task expected to be high priority is blocked while two other tasks are ready to<br />

run.<br />

An immediate thing to check is whether the three tasks really have the expected<br />

priority relationship (in this example, the names are chosen to suggest the<br />

intended priorities: uHi is supposed to have highest priority, uMed medium<br />

priority, and uLow the lowest). You can check this immediately by clicking on each<br />

task’s summary line, thus bringing up the windows shown in Figure 6-25.<br />

Unfortunately, that turns out not to be the explanation; the priorities (shown for<br />

each task under Attributes) are indeed as expected. Examining the CPU allocations<br />

with the spy window (Figure 6-26) reveals that the observed situation is ongoing;<br />

uMed is monopolizing the target CPU. It should certainly execute by preference to<br />

the low-priority uLow, but why is uHi not getting to run?<br />

229

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!