Patent ID: 8196129
Filing Date: 2012-06-05
Classification: G06F

Abstract:
1. A non-transitory storage medium encoded with instructions, wherein the instructions when executed comprise: interpreting a plurality of statements during a first invocation of an application; determining a first plurality of classes that are requested to be loaded by the plurality of statements during the first invocation of the application and that meet a filter criteria specified by the user, wherein the filter criteria specifies a second plurality of classes that are to be included in the first plurality of classes, and wherein the filter criteria specifies a third plurality of classes that are to be excluded from the first plurality of classes; determining a plurality of jar files that contain the first plurality of classes during the first invocation of the application; counting a plurality of a number of references to the first plurality of respective classes by the plurality of statements during the first invocation of the application; deciding whether the plurality of jar files are in a class path during the first invocation of the application; determining whether each of the plurality of the number of the references to the first plurality of respective classes by the plurality of statements during the first invocation of the application is greater than a threshold; determining whether the class path has changed between the first invocation and a subsequent invocation of the application; and preloading the plurality of classes during the subsequent invocation of the application if the plurality of jar files were in the class path during the first invocation of the application, each of the plurality of the number of the references to the first plurality of respective classes by the plurality of statements during the first invocation of the application is greater than the threshold, and the class path has not changed between the first invocation and the subsequent invocation of the application.