Techniques for customization of JAVA runtime environments are disclosed.
The techniques can be used to provide JAVA runtime environments that are
specifically tailored for various JAVA applications. Accordingly, for a
particular JAVA application, an optimized runtime environment can be
created. One or more optional attributes which represent the desired
runtime customizations are generated. As will be appreciated, the
optional attributes can be generated in the attribute table in the class
file. The optional attributes can then be parsed and appropriate features
can be loaded into the virtual machine. In this way, JAVA runtime
environments can be customized based on a particular JAVA application
requirement. Moreover, customizations can be automated using a runtime
performance manager that interacts with various other components that
operate to first generate and then load optional attributes into the JAVA
runtime environment.