Improved techniques for loading class files into virtual computing
machines are disclosed. The techniques seek to provide a mechanism that
will generally improve the efficiency of virtual machines by selectively
loading information into a virtual machine. A new class attribute
("load-attribute") is defined and implemented for class files. This can
be, for example, implemented as a "load-attribute" table that lists the
components that have been selected for loading into the virtual machine.
In addition, the load-attribute may provide references to the selected
components in the class file. Accordingly, various components of the
class file can be marked for loading and selectively loaded.