Patent ID: 8131925
Filing Date: 2012-03-06
Classification: G06F

Abstract:
1. A system for supporting method level caching by a runtime machine, comprising: a disk space of a computer system comprising at least one type of memory; an operating system for controlling allocations and access within the disk space; the operating system for allocating a selected virtual disk space from among the disk space to a runtime machine for management by the runtime machine only; a runtime machine for running at least one application through at least one of the operating system or on at least one processor of the computer system, the runtime machine for managing the selected virtual disk space from among the disk space allocated to the runtime machine by the operating system, the runtime machine for managing a separate method cache within the selected virtual disk space separate from an application heap within the selected virtual disk space, wherein the runtime machine implemented within a third stack layer only comprises a method support layer implemented within the third stack layer only comprising a cache comparison unit and an interpreter for controlling method caching by the runtime machine and wherein a stack operating on the computer system comprises a first stack layer comprising the disk space which comprises the virtual disk space, a second stack layer atop the first stack layer comprising the operating system, the third stack layer atop the second stack layer comprising the runtime machine only, a fourth stack layer atop the third stack layer comprising applications which further comprises middleware comprising a Websphere service software layer atop which the at least one application runs, and a fifth stack layer atop the fourth stack layer comprising an application programming interface; the interpreter of the runtime machine, responsive to determining at least one method of the application is suitable for caching, for passing execution control of the at least one method to the cache comparison unit; the cache comparison unit of the runtime machine for executing the at least one method and controlling caching within the method cache of a separate result of at least one method of the application suitable for caching; and the cache comparison unit of the runtime machine for accessing the cached separate result of the at least one method for a next instance of the at least one method from the method cache.