摘要 |
A method of executing a software routine in a virtual machine executing on a computer system, wherein the computer system can operate in one of a virtual machine execution context or a native execution context, the method comprising the steps of: identifying a declaration of the software routine, the declaration including an indication that the software routine is to be executed in a native binary form; responsive to a determination that the declaration of the software routine includes an indication that the software routine should be called directly by the virtual machine, the computer system operating in a virtual machine execution context and the virtual machine calling the software routine directly; executing the software routine in a native binary form.
|