Patent ID: 8159497

Claim:
A computer program product tangibly embodied in a storage device and having instructions that, when executed, cause a processor to perform operations comprising: managing execution of application functions, including execution of a first application function and a second application function that both access data in a shared buffer, wherein the first application function processes data in a first format, and the second application processes data in a second format that is different than the first format; determining if a first instruction that is stored at a first memory location causes, upon execution, data to be read from or written to the shared buffer; and when it is determined that the first instruction causes, upon execution, data to be read from or written to the shared buffer, 1) identifying one or more replacement instructions to execute in place of the first instruction; 2) storing the one or more replacement instructions; and 3) replacing the first instruction at the first memory location, with a second instruction that, when executed, causes the stored one or more replacement instructions to be executed.