Patent ID: 7665087
Filing Date: 2010-02-16
Classification: G06F

Abstract:
1. A computer-based method for reducing memory consumption by reducing identical resources in a virtual machine environment, said computer-based method implemented in computer readable program code, said computer readable program code stored in computer memory, said computer-based method comprising the steps of: loading an application in said virtual machine environment; a plurality of class loaders in memory, each class loader in said plurality of class loaders being associated with a library code; a store comprising a plurality of references to existing class loaders stored in the memory, creating a delegation class loader (DCL), wherein said DCL identifies one or more libraries referenced by said loaded application and said DCL determining if an existing class loader is available for loading at least one library among said one or more libraries stored in the memory and said DCL determining if a reference exists to said existing class loader for said at least one library; delegating task of loading said at least one library to said existing class loader based on said determined reference; and said delegating step limiting identical resources in memory and reducing memory consumption by not creating class loaders to load libraries that are already loaded by existing class loaders.