Claims
- 1. A method for identifying recently and frequently used routines in a data processing system, the method comprising the steps of:for a collection period, tracking an aggregate number of times each of a plurality of routines executes; for the collection period, determining a last time each of the plurality of routines executes; weighting the aggregate number of times each routine executes by the last time that the routine executed to produce a weighted aggregate execution count for each of the plurality of routines so that routines having a later last time of execution are weighted more heavily than routines having an earlier last time of execution; and selecting a number of routines from the plurality of routines as the more recently and frequently used routines according to the weighted execution counts.
- 2. The method of claim 1, wherein the number of routines are processed using JIT compilation.
- 3. The method of claim 1, wherein data associated with the number of routines are cached.
- 4. A method for identifying recent access of data collections within a data processing system, the method comprising the steps of:for a collection period, tracking an aggregate number of times each of a plurality of data collections is accessed; for the collection period, determining a last time each of the plurality of data collections was accessed; weighting the aggregate number of times each data collection was accessed by the last time that the data collection was accessed to produce a weighted aggregate access count for each of the plurality of data collections so that data collections having a later last time of access are weighted more heavily than data collections having an earlier last time of access; and selecting a number of data collections from the plurality of data collections as the most recently and frequently used data collections according to the weighted access counts.
- 5. The method of claim 4, wherein the plurality data collections is a plurality of routines.
- 6. The method of claim 4, wherein the number of data collections are stored in a cache.
- 7. The method of claim 4, wherein the plurality of data collections are a plurality of pages.
Parent Case Info
This application is a division of 09/078,932 filed on May 14, 1998.
US Referenced Citations (20)