A method and system multi-threaded fragment patching. The method provides
a link in a self-modifying multi-threaded computer system between a first
and a second piece of compiled code where the first piece of compiled
code includes a control transfer instruction to the second piece of
compiled code. The link is formed by inserting a patch from the first
piece of compiled code to the second piece of compiled code. The patch
may be a direct reference or a reference to an outlier.