摘要 |
PROBLEM TO BE SOLVED: To provide a technique speeding up a program by utilizing a combination of a static analysis result and a dynamic analysis result and precisely pre-compiling a program block (PB) with a high importance level especially in a multicore environment. SOLUTION: A task for program execution inputs an intermediate code or a native code to execute a program, and extracts "dynamic information" consisting of "loop repetition frequency" and "PB execution frequency" for each PB. Next, a task for pre-compile of the program decides an importance level for each PB by combining "loop weight" consisting of a product of "loop main body operation amount" and "loop repetition frequency" extracted from a static analysis by inputting the intermediate code, and "PB weight" consisting of a product of "sum of weight of all loops included in the corresponding PB" and "corresponding PB execution frequency" and the dynamic information, pre-compiles in accordance with importance level order sequentially updated in the execution of the decision to output the native code, and utilizes the native code in the task for program execution. COPYRIGHT: (C)2008,JPO&INPIT
|