Patent ID: 7917898
Filing Date: 2011-03-29
Classification: G06F

Abstract:
1. A method comprising: receiving first native method invocation (NMI) information associated with a first NMI call from a first virtual machine at a runtime of the first virtual machine; receiving second NMI information associated with a second NMI call from a second virtual machine different from the first virtual machine at a runtime of the second virtual machine; translating the first NMI information and the second NMI information via an NMI adapter; providing one of the first translated NMI information or the second translated NMI information to a modular NMI component; generating a marshaling language stub based on the one of the first translated NMI information or the second translated NMI information; selecting, based on the marshaling language stub and at least one of the first virtual machine or the second virtual machine, one of a compiled stub, an interpreted stub, or a platform specific stub; and generating a native stub based on the marshaling language stub and the selected one of the compiled stub, the interpreted stub, or the platform specific stub.