An apparatus, program product and method initiate, in connection with a
context switch operation, a prefetch of at least one instruction likely
to be executed by a thread prior to resuming execution of that thread. As
a result, once it is known that a context switch will be performed to a
particular thread, one or more instructions may be prefetched on behalf
of that thread so that when execution of the thread is resumed, those
instructions are more likely to be cached, or at least in the process of
being retrieved into cache memory, thus enabling a thread to begin
executing instructions more quickly than if the thread was required to
fetch those instructions upon resumption of its execution.