Patent ID: 6327702
Filing Date: 2001-12-04
Classification: G06F

Abstract:
In a computer system which is comprised of a system memory coupled by a system bus to a processor, and wherein the system memory stores instructions for providing a runtime environment for executing an interpreted language program, a method of improving the performance of the execution of the interpreted language program by the runtime environment, comprising:prior to entry of the runtime environment, a step for compiling source code for the interpreted language into byte code;prior to entry of the runtime environment, a step for passing at least some portions of the byte code for the interpreted language to a compiler which compiles the byte code into executable instructions;a step for executing a program within the runtime environment, and invoking a method that is external to the program running in the runtime environment; anda step for determining whether the invoked external method isi) in byte code, and if so passing the byte code to either an interpreter or a compiler within the runtime environment, and thereafter passing the interpreted or compiled byte code in executable form to a runtime system of the runtime environment, orii) if the invoked external method is in a compiled executable set of instructions, passing the executable set of instructions directly to the runtime system of the runtime environment for execution.