INTERPRETING FUNCTIONS UTILIZING A HYBRID OF VIRTUAL AND NATIVE MACHINE INSTRUCTIONS
First Claim
1. In a computer system, a method for increasing the execution speed of virtual machine instructions, the method comprising:
- inputting virtual machine instructions for a function; and
compiling a portion of the function into at least one native machine instruction so that the function includes both virtual and native machine instructions.
3 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for increasing the execution speed of virtual machine instructions for a function are provided. A portion of the virtual machine instructions of the function are compiled into native machine instructions so that the function includes both virtual and native machine instructions. Execution of the native machine instructions may be accomplished by overwriting a virtual machine instruction of the function with a virtual machine instruction that specifies execution of the native machine instructions. Additionally, the original virtual machine instruction may be stored so that the original virtual machine instructions can be regenerated.
-
Citations
66 Claims
-
1. In a computer system, a method for increasing the execution speed of virtual machine instructions, the method comprising:
-
inputting virtual machine instructions for a function; and
compiling a portion of the function into at least one native machine instruction so that the function includes both virtual and native machine instructions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product that increases the execution speed of virtual machine instructions, comprising:
-
computer code that receives as input virtual machine instructions for a function;
computer code that compiles a portion of the function into at least one native machine instruction so that the function includes both virtual and native machine instructions; and
a computer readable medium that stores the computer codes. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A computer system for executing virtual machine instructions, comprising:
-
a processor;
a memory coupled to the processor that stores virtual machine instructions for a function; and
an interpreter operating on the processor that executes the function by compiling a portion of the function into at least one native machine instruction so that execution of the function includes execution of both virtual and native machine instructions. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. In a computer system, a method for increasing the execution speed of Java virtual machine instructions, the method comprising:
-
inputting Java virtual machine instructions for a function;
compiling a portion of the function into at least one native machine instruction;
storing a copy of a selected virtual machine instruction at a beginning of the portion of the function;
storing a back pointer to a location of the selected virtual machine instruction; and
overwriting the selected virtual machine instruction with a new virtual machine instruction, the new virtual machine instruction specifying execution of the at least one native machine instruction so that the function includes both virtual and native machine instructions. - View Dependent Claims (33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50)
-
-
38. A computer program product that increases the execution speed of virtual machine instructions, comprising:
-
computer code that receives as input virtual machine instructions for a function;
computer code that compiles a portion of the function into at least one native machine instruction;
computer code that stores a copy of a selected virtual machine instruction at a beginning of the portion of the function;
computer code that stores a back pointer to a location of the selected virtual machine instruction;
computer code that overwrites the selected virtual machine instruction with a new virtual machine instruction, the new virtual machine instruction specifying execution of the at least one native machine instruction so that the function includes both virtual and native machine instructions; and
a computer readable medium that stores the computer codes.
-
-
45. A computer system for executing virtual machine instructions, comprising:
-
a processor;
a memory coupled to the processor that stores virtual machine instructions for a function; and
an interpreter operating on the processor to execute the function by compiling a portion of the function into at least one native machine instruction, storing a copy of a selected virtual machine instruction at a beginning of the portion of the function, storing a back pointer to a location of the selected virtual machine instruction, and overwriting the selected virtual machine instruction with a new virtual machine instruction, the new virtual machine instruction specifying execution of the at least one native machine instruction so that the function includes both virtual and native machine instructions.
-
-
51. A method of generating hybrid virtual and native machine instructions, comprising:
-
inputting a sequence of virtual machine instructions for a function;
selecting a virtual machine instruction of the sequence of virtual machine instructions; and
overwriting the selected virtual machine instruction with a new virtual machine instruction that specifies at least one native machine instruction. - View Dependent Claims (52, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 66)
-
-
59. A stored data structure of hybrid virtual and native machine instructions, comprising:
-
a sequence of virtual machine instructions for a function including a new virtual machine instruction;
at least one native machine instruction specified by the new virtual machine instruction for execution with the sequence of virtual machine instructions; and
a computer readable medium that stores the sequence of virtual machine instructions and the at least one native machine instruction.
-
Specification