Invention Grant
- Patent Title: Runtime code modification in a multi-threaded environment
-
Application No.: US11842419Application Date: 2007-08-21
-
Publication No.: US08572596B2Publication Date: 2013-10-29
- Inventor: Kevin Alexander Stoodley , Mark Graham Stoodley
- Applicant: Kevin Alexander Stoodley , Mark Graham Stoodley
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Marcia L. Doubet
- Priority: CA2557343 20060828
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A code region forming part of a computer program is modified during execution of the computer program by a plurality of threads. In one aspect, identical modification instructions are provided to each thread for modifying a site in the code region having a desirable idempotent atomic modification, and the modification instructions direct each thread to make the desirable idempotent atomic modification. In another aspect, a thread is selected to modify the code region, each thread other than the selected thread is directed to execute an alternative execution path that generates output identical to the output of the code region after the code region has been modified, and, responsive to directing each thread other than the selected thread, the selected thread is directed to modify the code region.
Public/Granted literature
- US20080052725A1 RUNTIME CODE MODIFICATION IN A MULTI-THREADED ENVIRONMENT Public/Granted day:2008-02-28
Information query