A method in a data processing system for identifying recently used methods
from a plurality of methods in a data processing system, wherein a counter
is associated with each method within the plurality of methods. Periodic
monitoring is performed to identify an executing method in a current
period. The counter is divided using a number of periods since a last
period during which the executing method was executed.