发明名称 |
Method for controlling program execution |
摘要 |
An execution-target program is executed, via a program-execution control program, by converting a byte code in the execution-target program into a native code based on a predetermined condition. Upon activating the execution-target program, it is determined whether the execution-target program is an optimization-completed program having a past record of having been converted into an optimized state of the execution-target program, based on a profile including information identifying the optimization-completed program and optimized-code information indicating an optimized code for the optimization-completed program, where the profile is updated at a timing of executing the program-execution control program or another program-execution control program, and the optimized code is generated by converting a byte code into a native code. When the execution-target program is the optimization-completed program, upon activating the execution-target program, a byte code corresponding to the optimized-code information from among byte codes of the execution-target program is converted into a native code. |
申请公布号 |
US9170830(B2) |
申请公布日期 |
2015.10.27 |
申请号 |
US201414156748 |
申请日期 |
2014.01.16 |
申请人 |
FUJITSU LIMITED |
发明人 |
Shiba Nobuo;Sasaki Hiroshi;Suematsu Shinya |
分类号 |
G06F12/00;G06F9/44;G06F9/45;G06F9/46;G06F9/455 |
主分类号 |
G06F12/00 |
代理机构 |
Staas & Halsey LLP |
代理人 |
Staas & Halsey LLP |
主权项 |
1. A non-transitory computer-readable recording medium having stored therein a program-execution control program for causing a computer to execute a program-execution control process by converting at least a portion of a byte code program into a native code, the program-execution control process comprising:
a first conversion process of converting, when executing an execution-target program that is a program to be executed via the program-execution control program, a byte code in the execution-target program into a native code, based on a predetermined condition; a determination process of determining, upon activating the execution-target program, whether the execution-target program is an optimization-completed program having a past record of having been converted into an optimized state of the execution-target program, based on a profile that includes identification information identifying the optimization-completed program and optimized-code information indicating an optimized code for the optimization-completed program, the profile being updated at a program-execution timing of executing the program-execution control program or another program-execution control program, the optimized code being generated by converting a byte code into a native code; and a second conversion process of converting, when the execution-target program is the optimization-completed program, a byte code corresponding to the optimized-code information indicating the optimized code from among byte codes of the execution-target program, into a native code, upon activating the execution-target program. |
地址 |
Kawasaki JP |