Runtime code modification in a multi-threaded environment
AssigneeInternational Business Machines Corporation
InventorsKevin Alexander Stoodley, Mark Graham Stoodley
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsKevin Alexander Stoodley, Mark Graham Stoodley
Estimating the term…
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.
A computer program product comprising at least one computer-usable storage medium having computer-usable program code 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 computer program product comprising:
A computer program product comprising at least one computer-usable storage medium having computer-usable program code for making a desirable modification to a code region forming part of a computer program during execution of the computer program by a plurality of threads, the computer program product comprising computer-usable program code for:
A computer program product comprising at least one computer-usable storage medium having computer-usable program code for causing a desirable modification to be made 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 computer program product comprising computer-usable program code for:
A computer program product comprising at least one computer-usable storage medium having computer-usable program code for causing a desirable modification to be made to a code region forming part of a computer program during execution of the computer program by a plurality of threads, the computer program product comprising computer-usable program code for:
Dependencies are inferred from the claim text.