Patent ID: 7949826

Claim:
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; 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 a selected virtual disk space from among the disk space allocated to the runtime machine by the operating system and for managing a separate method cache within the selected virtual disk space; the runtime machine for controlling caching within the method cache of a separate result of at least one method of the application suitable for caching; 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; the runtime machine for supporting a user interface and for running the application code comprising at least one method marked as cache capable; the runtime machine for prompting a user, at runtime of the application code, via the user interface with a first list of selectable class names of the methods for the application detected within the application code not marked as cache capable; the runtime machine, responsive to the user selecting one or more of the selectable class names of the methods of the first list of methods for the application as cache capable within the user interface, for marking the selected methods as cache capable in the application code run by the runtime machine for the application, removing a first particular class name of the selected methods from the first list of selectable names, and displaying the first particular class name in a second list of selectable class names; the runtime machine, for prompting the user via the user interface with the second list of selectable class names of cache capable methods for the application detected within the application code marked as cache capable; the runtime machine, responsive to the user selected at least one caching method of the second list of the selectable class names of the cache capable methods, for only caching the separate result of the at least one caching method at runtime; and the runtime machine, responsive to the user selecting at least one non-caching method of the second list of the class names of the cache capable methods, for removing the cache capable marking from the at least one non-caching method within the application code, removing a second particular class name of the non-caching method from the second list of selectable names of cache capable methods, and displaying the second particular class name of the non-caching method in the list of the class names of the methods.