Method and apparatus for determining frequency of execution for compiled methods within a virtual machine
AssigneeSun Microsystems, Inc.
InventorsBernd J. W. Mathiske, Oleg A. Pliss
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsBernd J. W. Mathiske, Oleg A. Pliss
Estimating the term…
One embodiment of the present invention provides a system that facilitates determining a frequency of execution of compiled methods within a virtual machine. The system starts by determining if a compiled method is executing. If so, the system sets a flag corresponding to the compiled method to indicate that the compiled method is executing. Periodically, the system scans the flag and increments the value of a corresponding counter if the flag is set, and then resets the flag. Finally, the system analyzes the value of the counter to determine a frequency of execution of the compiled method.
A method for determining a relative frequency of execution of compiled methods within a virtual machine, the method comprising:
A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for determining a relative frequency of execution of compiled methods within a virtual machine, the method comprising:
An apparatus for determining a relative frequency of execution of compiled methods within a virtual machine, comprising:
Dependencies are inferred from the claim text.