Patent Document ID: 7536682
Application ID: 10732764

Base Claim:
1. A method of selectively interpreting or translating program code in a computing environment having a target processor and a memory coupled to the target processor, the program code comprising instructions from the instruction set of a subject processor, the method comprising: decoding said program code; applying an interpreting algorithm to identify whether said program code is interpretable by a simple interpreter, said simple interpreter incapable of interpreting a subset of instructions from the instruction set of the subject processor; if said program code contains only instructions in the subset such that the program code is interpretable by the simple interpreter, interpreting the program code using the simple interpreter; and translating said program code using a translator for non-interpretable subset of instructions when said program code is not interpreted.

---

Claim 8:
8. The method of claim 1 , wherein the step of applying an interpreting algorithm to identify whether the program code is interpretable further comprises determining whether an execution count of the program code is below a translation threshold, wherein the program code is translated by the translator if the execution count of the program code is greater than or equal to the translation threshold.