发明名称 Optimized class loading
摘要 A classloader executing in an execution environment, such as a JAVA virtual machine or a software container, may be configured to generate class usage data describing the historical usage of classes by applications in the execution environment. Based upon the class usage data, one or more classes may be pre-loaded into a cache prior to receiving a request from an application to load the classes. If an application subsequently requests a class, the request may be satisfied using the class stored in the cache rather than by loading the class at the time the request is received. A probabilistic data structure, such as a Bloom filter, might also be utilized to determine whether a classloader can possibly load a requested class. Only if the classloader can possibly load the requested class will a search be made for the requested class in a classpath associated with the classloader.
申请公布号 US9250891(B1) 申请公布日期 2016.02.02
申请号 US201414526176 申请日期 2014.10.28
申请人 Amazon Technologies, Inc. 发明人 Beranek Kevin Michael;Christopher Keian;Kulkarni Vijay Ravindra;Moniz Samuel Leonard
分类号 G06F9/44;G06F9/455;G06F9/445 主分类号 G06F9/44
代理机构 Lee & Hayes, PLLC 代理人 Lee & Hayes, PLLC
主权项 1. A non-transitory computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by a computer, cause the computer to: store class usage data describing historical usage of one or more classes by one or more tenants of a software container executing on the computer, the class usage data including at least one of data identifying an order in which the one or more classes were requested or data identifying dependencies between the one or more classes; pre-load one or more of the classes into a cache in a memory of the computer based upon the class usage data; receive, at a classloader executing in the software container, a request from one of the one or more tenants for a requested class; and provide the requested class in response to the request from the cache if the requested class is stored in the cache.
地址 Seattle WA US