1. A method for loading methods into a virtual machine, the methods contained in one or more classes, the method including: recursively scanning through application code beginning at an application entrypoint to determine which methods may be called and the classes to which they correspond; storing identifiers corresponding to said methods which may be called in a method usage map organized by classes; consulting said method usage map upon execution of the virtual machine; and selectively loading only those methods contained in said method usage map into memory in the virtual machine.