发明名称 DYNAMIC CODE INJECTION
摘要 Embodiments of the present invention disclose an approach for inserting code into a running thread of execution. A computer sets a first set of bits to a first value, wherein the first value indicates that a first set of instructions should be inserted onto a stack. The computer executes a second set of instructions associated with a first safepoint, wherein the second set of instructions comprises one or more instructions to determine if the first set of bits is set to the first value. The computer determines that the first set of bits is set to the first value, and the computer inserts the first set of instructions onto the stack.
申请公布号 US2015278077(A1) 申请公布日期 2015.10.01
申请号 US201414224178 申请日期 2014.03.25
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Dawson Michael H.;Johnson Graeme;Li San Hong
分类号 G06F11/36;G06F9/44 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for inserting code into a running thread of execution, the method comprising: setting, by one or more computer processors, a first set of bits to a first value, wherein the first value indicates that a first set of instructions should be inserted onto a stack; executing, by one or more computer processors, a second set of instructions associated with a first safepoint, wherein the second set of instructions comprises one or more instructions to determine if the first set of bits is set to the first value; determining, by one or more computer processors, that the first set of bits is set to the first value; and inserting, by one or more computer processors, the first set of instructions onto the stack.
地址 Armonk NY US