Patent ID: 7503047

Claim:
A method for storing a class container based on usage patterns, comprising: receiving a request to load a class container at a first java virtual machine; determining a location of said class container, the location of said class container being maintained by a configuration repository through a checksum operation that builds over a complete class container to find matches within a single operation and avoiding checking a whole archive; communicating with another java virtual machine to retrieve said class container based upon location determined from said configuration repository; determining if relocation of said class container is effective based upon usage statistics from said another java virtual machine, said usage statistics including a number of accesses of said class container; transferring said class container from said another java virtual machine to said first java virtual machine when said usage statistics for access to the class container pass a threshold, said threshold representing at least one of number of accesses or percentage of accesses greater than a second java virtual machine; providing said class container from said first java virtual machine; updating references to location of said class container to reflect storage of said class container at said first java virtual machine with said configuration repository.