×

Runtime code modification in a multi-threaded environment

  • US 8,589,900 B2
  • Filed: 08/21/2007
  • Issued: 11/19/2013
  • Est. Priority Date: 08/28/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method for making a desirable modification to a site in a code region forming part of a computer program during execution of the computer program by a plurality of threads, the method comprising:

  • providing identical modification instructions to each thread for modifying the site in the code region, wherein the modification instructions direct each thread to make the desirable modification, without use of a self-loop, using an idempotent atomic instruction, wherein the idempotent atomic instruction is generated to ensure that the desirable modification does not cross a patching boundary by NOP insertion.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×