Patent ID: 6964033

Claim:
In a Java computing environment, a method of customizing a Java runtime environment for a Java class file which is executed by a virtual machine said method comprising: reading a java class file, which includes a plurality of Bytecodes, prior to loading or executing the class file by the virtual machine; analyzing said java class file, for one or more runtime attributes associated with runtime performance of the java class file, prior to loading or executing the class file by the virtual machine; marking one or more Bytecodes of said class file, based on said analyzing of said class file, prior to loading or executing the class file by the virtual machine; generating at least one runtime attribute for each one of said one or more marked Java Bytecodes prior to loading or executing the class file by the virtual machine; reading by the virtual machine, during the load time of the class file into the virtual machine, the at least one runtime attribute for each one of said one or more marked Java Bytecodes; loading by the virtual machine at least one runtime feature associated with the at least one runtime attribute prior to execution of said class file by the virtual machine; and executing said class file by said virtual machine in a runtime environment that includes the at least one runtime feature associated with the at least one runtime attribute, thereby allowing the runtime environment to be customized based on the analyzing, marking, and generating of the at least one runtime attribute.