Patent ID: 7178140
Filing Date: 2007-02-13
Classification: G06F

Abstract:
1. A method for transmitting methods to a client running a virtual machine, the methods contained in one or more classes, the method comprising: recursively scanning through application code beginning at an application entrypoint to determine which methods may be called and the classes to which they correspond wherein, said recursively scanning includes: finding all methods referenced in said application code; and finding all methods referenced in said methods referenced in said application code; generating a method usage map having an identifier corresponding to all said referenced methods organized under its corresponding class; storing said identifiers corresponding to all said methods referenced in said application code and all said methods referenced in said methods referenced in said application code in said method usage map organized by said classes; receiving a request for an application from a client; processing all application and library classes for the application specified by the request, after consulting said method usage map upon execution of the virtual machine, removing unused methods that are not contained in said method usage map from it as per said method usage map; and transmitting any remaining methods to the client running the virtual machine.