Patent ID: 8856761

Claim:
An instruction processing method comprising: generating a translated code block for an instruction, among instructions included in a target program to be executed and for which a number of executions through sequential interpretation is greater than or equal to a threshold, and storing the generated translated code block in a first storage unit; removing part or all of the translated code block from the first storage unit at an execution time; determining an amount of time that has elapsed since the execution time and comparing the determined amount of time that has elapsed since the execution time with a predetermined amount of time; when the amount of time that has elapsed since the execution time is less than the predetermined amount of time, reducing, using an information processing apparatus, the threshold with respect to the number of executions over a given period of time after the part or all of the translated code block is removed, an amount of reduction of the threshold being larger as the amount of time that has elapsed since the execution time becomes shorter; and when the amount of time that has elapsed since the execution time is not less than the predetermined amount of time, maintaining the threshold.