Method and apparatus for performing byte-code optimization during pauses
First Claim
1. A method for dynamically performing tasks at runtime during the execution of an executable computer program, the method comprising:
- determining whether there is a period which the level of activity associated with execution of the executable computer program is below a threshold level;
selecting a first task form a plurality of tasks which can be performed during the execution of the executable computer program when it is determined that there is a period which the level of activity associated with execution of the executable computer program is below a threshold level; and
initializing performance of the first task during the first period after the selecting of the first task.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus for dynamically compiling byte codes associated with methods during idle periods in the execution of a computer program are disclosed. The described methods are particularly suitable for use in computer systems that are arranged to execute both interpreted and compiled byte codes. In some embodiments, methods to be dynamically compiled are referenced in one or more lists. The lists may be prioritized to facilitate the compilation of the highest priority methods first. In one embodiment, a pair of compilation lists are provided with a first one of the compilation lists being created prior to processing the computer program while the other is created during the processing of the computer program.
43 Citations
20 Claims
-
1. A method for dynamically performing tasks at runtime during the execution of an executable computer program, the method comprising:
-
determining whether there is a period which the level of activity associated with execution of the executable computer program is below a threshold level;
selecting a first task form a plurality of tasks which can be performed during the execution of the executable computer program when it is determined that there is a period which the level of activity associated with execution of the executable computer program is below a threshold level; and
initializing performance of the first task during the first period after the selecting of the first task. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A virtual machine for dynamically performing tasks at runtime during the execution of an executable computer program by the virtual machine, wherein the virtual machine is capable of:
-
determining whether there is a period which the level of activity associated with execution of the executable computer program is below a threshold level;
selecting a first task form a plurality of tasks which can be performed during the execution of the executable computer program when it is determined that there is a period which the level of activity associated with execution of the executable computer program is below a threshold level; and
initializing performance of the first task during the first period after the selecting of the first task. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer readable medium including computer program code for dynamically performing tasks at runtime during the execution of an executable computer program, wherein the readable medium comprises:
-
computer program code for determining whether there is a period which the level of activity associated with execution of the executable computer program is below a threshold level;
computer program code for selecting a first task form a plurality of tasks which can be performed during the execution of the executable computer program when it is determined that there is a period which the level of activity associated with execution of the executable computer program is below a threshold level; and
computer program code for initializing performance of the first task during the first period after the selecting of the first task. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification