发明名称 Method and apparatus for selectively optimizing interpreted language code
摘要 In one embodiment of the present invention an interpreted language, such as, for example, Java, is selectively optimized by partitioning the interpreted language code (98) into a plurality of blocks (80-83) based on the complexity of each of the interpreted language instructions. In one embodiment of the present invention, each of the plurality of blocks is identified as either a block to be compiled into native code (80-82) if the block is simple, or a block to be interpreted (83) if the block is complex. The compiled and interpreted blocks are appended to form in-line mixed code (99) that contains both native code (90-92) and interpreted language code (93). This mixed code is formed before run-time, so that no further compilation is required at run-time. A processing unit (102) may be used to execute the native code directly without the use of a Java VM (10), while also executing, in-line, the interpreted language code (93) which requires use of the Java VM (10) to interpret the Java bytecodes.
申请公布号 US2004243989(A1) 申请公布日期 2004.12.02
申请号 US20040879991 申请日期 2004.06.29
申请人 OWENS HOWARD DEWEY;KIRILLIN VIATCHESLAV ALEXEYEVICH;KUTUZOV MIKHAIL ANDREEVICH;PREOBRAZHENSKY DMITRY SERGEEVICH 发明人 OWENS HOWARD DEWEY;KIRILLIN VIATCHESLAV ALEXEYEVICH;KUTUZOV MIKHAIL ANDREEVICH;PREOBRAZHENSKY DMITRY SERGEEVICH
分类号 G06F9/45;(IPC1-7):G06F9/45;G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址