Patent ID: 7739674
Filing Date: 2010-06-15
Classification: G06F

Abstract:
1. In a virtual machine executing on a host processor, a method for selectively optimizing interpreted language code, comprising: receiving interpreted language code comprising interpreted language instructions; partitioning the interpreted language code into a performance-crucial block and a non-performance crucial block; and partitioning the interpreted language code of the performance-crucial block into a plurality of blocks based on a complexity of each of the interpreted language instructions, wherein the complexity of the interpreted language instructions is related to dependencies on virtual machine services and unrelated to execution frequency of the interpreted language instructions; identifying a first block of the plurality of blocks as a block to be compiled based on the first block including one or more simple instructions that are independent of virtual machine services and a second block of the plurality of blocks as a block to be interpreted based on the second block being dependent on virtual machine services; creating mixed code, said mixed code comprising native instructions and interpreted language instructions, wherein creating said mixed code comprises: