Patent ID: 9047097
Filing Date: 2015-06-02
Classification: G06F

Abstract:
1. A method for making available an application to a virtual machine, wherein the method comprises: identifying, by a processor, one or more sets of objects in an original code of the application, wherein an object includes a method; determining symbols in a native code associated with the virtual machine that correspond to methods of objects in the one or more sets of objects in the original code; generating respective function stubs for the methods of the objects, wherein a function stub of the respective function stubs marks a given method of the methods for compiling; based on the respective function stubs, compiling the original code into a native application having the native code for a platform associated with the virtual machine, wherein the native application includes a system for managing runtime exceptions associated with the methods of the objects and unused objects of the one or more sets of objects; converting, by the processor, the compiled native application into a library; and providing the library and the compiled native application to the virtual machine.